Police are investigating the death of a small child Wednesday night in Middletown.

The victim was Julius Thornton, a two-year-old boy. He would have turned three this upcoming Christmas Eve.

Bucks County District Attorney Matt Weintraub speaks to the press about Julius Thornton’s death.

Bucks District Attorney Matt Weintraub says he died of a gunshot wound to the head at the Racquet Club Apartments on Veterans Highway.

The child’s father Jorddan Thornton, 27, is now in custody on charges of endangering the welfare of a child. Weintraub says Thornton was distraught at the scene.

But court documents show Thornton initially told police his son Julius fell off the bed.

“I think at best this is a case of essentially dereliction of duty,” said Weintraub, “where perhaps little Julius was able to inflict this wound on himself. It gets progressively worse. After that the potential is that his father accidentally shot him, and it gets even worse than that.”

Officers arrived to the scene after a neighbor called the police when they say Thornton taking Julius outside. Thornton did not call police himself, according to Weintraub.

Julius Thornton’s mother was not at the apartment when the incident occurred. Authorities have informed her about her son’s death.

It’s also unclear whether Jorddan Thornton lived at the apartment. Weintraub says he is a resident of Philadelphia.

The Middletown Township Police and Bucks County Detectives are jointly investigating the case. They are still trying to figure out exactly what happened, according to Weintraub.

A judge has remanded Thornton to the Bucks County Correctional Facility. His bail is 10 percent of $500,000.