A 24-year-old Phoenix man was shot and killed by his girlfriend early Sunday morning in an apparent domestic-violence incident, police say.

According to court documents obtained by New Times, Erasmo Gonzales and his family were hosting a party at their house Saturday night for the Mayweather-Pacquiao boxing match, and his girlfriend, 22-year-old Marylin Alvarez, got upset with Gonzales when he left the home after the fight.

Gonzales had gone to a Jack-in-the-Box with his cousin, but Alvarez "was angry that he left and suspicious of his story regarding his whereabouts," court documents state.

When Gonzales went back to the house, located near 43rd Avenue and Thomas Road, he went to the bedroom where Alvarez was, then came back out of the bedroom upset, witnesses told police. Gonzales then went back into the bedroom, and a few seconds later, everyone heard the gunshot.

"Family members ran into the bedroom and saw Marilyn kneeling on the ground next to Erasmo, who was unresponsive," state court documents filed by police. "A gun was found by a family member lying nearby. Marilyn was upset and emotional but made no statements to family members regarding what happened.

Gonzales was hit in the chest, and died at a hospital.

Alvarez didn't talk to police about the shooting, but after she was arrested, she called her family and said she shot Gonzales by accident, although she said he'd hit her.

"Alvarez had scratches on her neck and forehead, as well as a bruise on her left arm," Phoenix police Sergeant Trent Crump says. "It should be noted that Alvarez told the responding patrol officer the bruise on her arm was from a previous incident."

Though no domestic violence between the couple had been reported to police, Gonzales' family members told investigators that he came home with scratches on his face a couple weeks ago and said Alvarez scratched him during a fight.

Court documents filed by police suggest some of Alvarez's domestic-violence issues:

A judge set Alvarez's bond at $500,000 on a charge of second-degree murder.

Got a tip? Send it to: Matthew Hendley.

Follow Valley Fever on Twitter at @ValleyFeverPHX. Follow Matthew Hendley at @MatthewHendley.