A man who allegedly shot his ex-girlfriend's young son early Sunday turned himself in to police later that night, authorities said.

Jamille Carter, 23, surrendered without incident, officials said.

The situation began about 2:10 a.m. in a house on the 3500 block of Janney Street.

Police say Carter walked through the front door and woke his ex-girlfriend, who was sleeping in a second-floor bedroom.

When the 33-year-old woman encountered Carter in her living room and told him to leave, he grabbed her by the shirt and smacked her in the face until she fell to the floor, police said.

As she was lying there, she told police, she heard a gunshot.

The woman's 12-year-old son, who had also been asleep on the second floor, heard the fighting and began walking down the stairs.

He told police he "saw a flash and heard a pop," then felt pain in his upper left leg and realized he was bleeding.

Carter ran out of the house, and the woman chased after him, unaware her son had been injured.

She called 911 when she returned home and saw the child had been shot, police said.

The boy was listed in stable condition at St. Christopher's Hospital for Children.

Already a fugitive, Carter pleaded guilty in June to attempted first-degree murder, along with various firearms offenses, in connection with an incident two years before, court records show.

He was initially sentenced to five to 10 years in prison but absconded from house arrest before his surrender date.

He was resentenced in absentia in July to 10 to 20 years in prison, according to court documents. A bench warrant for his arrest remained active in August.