According to the San Francisco Police Department, just hours after a SoMa man was released from San Francisco County Jail, he returned to the scene of his arrest, shot his girlfriend, and killed himself.

SFPD spokesperson Officer Gordon Shyy said that police got "several" 911 calls at around 5 a.m. Friday reporting a shooting in a residence on the 500 block of Natoma Street, which is between 6th and 7th Streets, KTVU reports.

When officers arrived at the home, they found a man with a self-inflicted gunshot wound to his head and a woman who'd been shot in the torso. According to SFPD spokesperson Sergeant Monica Macdonald, the man was pronounced dead at the scene, and the woman was transported to San Francisco General Hospital with injuries considered life-threatening.

Shyy tells the Chron that this wasn't the first time SFPD had been called to this residence, as it was the site of disturbances in the past.

In an email sent to media Friday afternoon, Shyy says that:

A call came in at approximately 8:30 PM, regarding a disturbance, but police were never dispatched because it appears the disturbance was abated while the reporting party was on the phone with the call taker. A call came in at approximately 9:15 PM, regarding the suspect causing a disturbance ringing the doorbell to the building. Police responded, made contact with both suspect and victim. The suspect was advised and asked to leave. Officers determined no crime had occurred at this time after speaking with involved parties. At approximately 10 PM, police responded to another disturbance of the suspect ringing the doorbell to the building. Police arrived and made contact with the suspect and victim. Police determined the suspect met the elements of a crime for public intoxication. The suspect was arrested and booked into SF County Jail.

According to Shyy, the man was released from San Francisco County Jail early this morning. He says that police were called to the scene again at 4 a.m., when the man was, yet again, ringing the doorbell at the building. When police arrived, the man told them that he needed to retrieve some of his belongings.

"The police officers remained at the scene and conducted a civil standby to make sure both parties remained peaceful. Both parties agreed, he would leave, and officers watched the suspect leave the apartment," Shyy says.

Then, at 5 a.m., the man returned, forced his way into the building, shot the woman and himself, Shyy says.

According to Shyy, the man had also been arrested for domestic violence in 2012, but charges were dismissed after his three alleged victims refused to participate in his prosecution.