A man has been charged with murder after he allegedly shot and killed his ex-girlfriend's new boyfriend March 24.

At around 9:24 p.m., the Austin Police Department responded to multiple calls reporting a shooting in North Austin. When police arrived, they found a victim who they said had been shot nine times by 20-year-old Imanol Cardenas.

According to the affidavit, Cardenas' ex-girlfriend stated that she called him asking if she could pick up their 4-year-old daughter. Cardenas allegedly said he would do it as long as she brought her new boyfriend, Jesus Rodolfo Solis-Lopez, so that he could meet him.

Cardenas' ex-girlfriend and Solis-Lopez agreed to the terms and drove to the set location, police said. When they arrived, they talked to Cardenas for 20 minutes when they realized that Cardenas wasn't going to hand over the daughter, according to the affidavit.

Cardenas' ex-girlfriend and Solis-Lopez then allegedly tried to leave when Cardenas pulled out a handgun and approached Solis-Lopez who was sitting in the driver's side of the vehicle with the door closed.

According to the affidavit, Cardenas said, "I told you how this was going to end. I loved you and you left me for him." Cardenas then fired twice into the driver's window at Solis, striking him in the legs, police said. Cardenas then allegedly walked to the front of the vehicle and fired at least 2 to 3 more times. Solis-Lopez suffered from gunshot wounds to his torso, legs and head, according to the affidavit.

Cardenas' ex-girlfriend said Cardenas then put the gun on the ground and walked over to her and told her to take care of their daughter and then stood there while he waited for police to arrive, according to the affidavit.

When police arrived, Cardenas allegedly said that he purchased the gun months ago out of anger after his ex-girlfriend broke up with him. He allegedly said that he thought she cheated on him with Solis-Lopez. Cardenas also said he bought the gun "just in case" and didn't plan on shooting anyone but later became angry when talking to Solis-Lopez and decided to shoot him, police said.

Solis-Lopez was pronounced dead on scene around 9:37 p.m.

Nine fired cartridge cases were found at the scene as well as a handgun in the trunk of the Solis-Lopez's vehicle, police said.

According to online records, Cardenas is in police custody as of Monday afternoon. His affidavit said his bond is set at $10,000,000.