Joaquin Albert Castro, 42, was re-arrested after briefly escaping from police custody July 23, 2017. Courtesy OnScene.TV

A handcuffed domestic violence suspect who escaped from San Diego police headquarters and was later re-arrested in the harbor near the G Street Pier must stand trial on charges including attempted murder, a judge ruled Wednesday.

Police said 42-year-old Joaquin Albert Castro went into his ex- girlfriend’s North Park home on July 23, took her phone and threatened to kill her, then choked the woman and held a knife to her throat.

After Castro’s arrest, he escaped from police custody and was on the run for about an hour before being spotted in the harbor, police said.

Prosecutors said Castro has a criminal history dating back to 1993, including an escape in 2015.

After a preliminary hearing, Judge Kenneth So ruled that enough evidence was presented to order Castro to stand trial.

A Superior Court arraignment was set for Nov. 7.

— City News Service