Updated at 6:55 p.m. with a statement from Ness's family.

A father accused of slamming his toddler son on the sidewalk and stabbing him in a deadly attack has been charged with capital murder, Lewisville police said.

Blair Ness, 27, was released from the hospital Tuesday and booked into the Lewisville city jail after the attack that killed his son, 16-month-old Ashton Ness, Sunday in a courtyard at Oak Forest Apartments in Lewisville. Bail is set at $1.5 million.

Blair Ness (Lewisville City Jail)

As Ness, who was shot by a neighbor trying to stop the attack, was being handcuffed Sunday, he asked police to contact his mother and girlfriend. He told officers, "I know everyone's mad, I'm mad. I killed my son," according to an affidavit for his arrest.

A forensic investigator found stab wounds "all over" the boy's head and body, police records say.

Police said evidence indicates that Ness' attack on the toddler began inside the apartment he shared with his son and girlfriend, who was at work when the boy was killed. Officers found a large blood stain on the carpet in the master bedroom, a blood-stained folding knife and skull fragments near the bedroom door, the affidavit states. The apartment was smoky and smelled of marijuana, police said.

A trail of blood led outside to the scene of the attack, where officers saw several bloody kitchen knives in the grass next to a pool of blood.

When police interviewed the boy's mother and Ness's girlfriend, Alexandra Murphy, she said she couldn't think of any reason why Ness would want to harm their son, the affidavit said. He had been reading the Bible a lot and they had been attending church lately, she told police. When she left the apartment Sunday to go to work, Ness was feeding their son.

In a statement, Ness's family asked to be left alone to mourn Ashton.

"The shock of this vicious act will forever affect anyone that is close to this horror that happened on August 19th. We thank you for all the support, space and kindness during this time. We love you Ashton and we will always remember your beautiful smile and laughter," the statement read.

The family's statement said Ness "left this earth sometime in the last few weeks as he opened a door to allow demons to enter into his body."

Ness did not have a criminal history in Dallas, Denton, Collin or Tarrant counties, according to court records.

In 2013, he entered a guilty plea in New Mexico on charges of aggravated battery causing great bodily harm and kidnapping of a victim younger than 18. He pleaded guilty but was placed on deferred adjudication probation, court records indicate. The charges were dismissed in 2018 when he completed the probation program.

Ness was arrested March 23, 2013, after an overnight standoff with a SWAT team in Los Lunas, N.M., according to KOAT-TV. Police were called to his home after a woman told dispatchers she had been sexually assaulted, and Ness refused to come out for six hours until police fired pepper spray inside, the station reported.

It is unclear whether Ness has an attorney yet.

Just days before the attack, Ness posted a picture on Facebook of the young family and expressed his devotion to them and Jesus.

"The start of something beautiful!" he wrote. "I love my family, man do we have a strong bond. let's all stand strong in jesus christ cause it's so much better than magic."

Ness was treated for a hand injury, likely from the knife used in the attack, and a gunshot wound to the leg, police said. Toxicology tests are pending.

Friends will hold a public candlelight vigil Thursday for 16-month-old Ashton Ness. The event will be at 7:30 p.m. at Wayne Ferguson Plaza on Church Street in Lewisville.

Family set up a GoFundMe campaign to help Ashton's mother with funeral expenses.

A description for the fundraiser said Ashton "lit up a room when he entered it," and had "the cutest dimples you ever saw."

The fundraiser had surpassed its goal of $15,000 on Tuesday.

Several neighbors at the sprawling Oak Forest Apartments complex, along State Highway 121 Business just west of Interstate 35E, saw and heard Sunday's attack in the courtyard.

Neighbors say Ashton's father came out of his apartment ranting and raving as he carried an child in his arms who wasn't moving.

Nine frantic neighbors, including the girlfriend of the neighbor who shot at the father, called 911 during the attack, according to recordings released by the city. Each told dispatchers there was a man stabbing his son in the apartment courtyard.

One man told the dispatcher: "They slammed the little kid on the ground. They're stabbing their baby out here in the middle..."

"They're stabbing their baby?" the dispatcher asked.

"They're stabbing the baby right now in the middle of the complex, right now," he said.

Another caller told a dispatcher, "There's blood everywhere."

"I think the dad killed him," she said. The woman then told the dispatcher she heard two or three gunshots.

"Shots just went off," she said.

Neither the police nor Child Protective Services had been previously called to the boy's home in Lewisville, Capt. Jesse Hunter said at the scene Sunday.

Staff writer Sara Coello contributed to this report.