A suspect in the shooting of two teenaged girls in Wichita Falls Friday told police he was angry because he didn’t have a girlfriend and had planned the shooting by talking to the devil about it.

Kody Lott, 20, is charged with murder and aggravated assault and is held in lieu of $4-million bail in the Wichita County Jail.

Details of the shooting came out Tuesday in an arrest affidavit filed at the Wichita County Courthouse.

One girl, Lauren Landavazo, 13, was shot multiple times and was dead at the scene in the 5100 block of Kingston Drive. A friend she was walking with, Makayla Smith, also, 13, was wounded but survived.

According to the affidavit, Makayla was able to talk to police at the emergency room and told them she and Lauren were walking home from McNiel Middle School after class on Friday. The scene of the shooting is only a short distance away from the school.

Makayla said when the two reached Trinidad Drive, a vehicle stopped ahead of them and she saw a young male with shaggy brown hair driving. She said she didn’t know the driver, but made eye contact with him and he reached into the passenger area and produced a rifle.

Makayla said he shot her and she ran. She said she looked back and saw Lauren on the ground. The vehicle left on Trinidad.

The affidavit says investigators found 15 spent shell casings at the scene. All were .22-calibre, a small rifle bore. Preliminary autopsy reports indicated Lauren Landavazo was shot 14 times.

Police put out descriptions of the vehicle and driver through media. On Sunday, officers got a call from a person at Fountaingate Apartments, which is close to the shooting scene.

The caller said she had seen a man enter an apartment with what appeared to be a rifle or rifle case. She gave police the vehicle’s tag number. Officers spotted and stopped it in a parking lot in the 4700 block of Southwest Parkway and arrested Lott.

In an interview at the police station, the suspect admitted he shot the girls. He said he had seen them walking home and was attracted to Lauren, even though he knew she had a boyfriend, which made him angry.

He said he went to his parents’ apartment at Fountaingate and got his stepfather’s 22-calibre rifle and waited by a window, watching for Lauren to walk by. When he saw her, he drove to an alley and shot Lauren and Makayla. He said he shot Lauren first, then shot Makayla “a couple of times” before going back to continue shooting Lauren.

Afterwards, he said he drove away and threw the rifle into a field. He said he went back to the field Saturday to retrieve the rifle and put it back in his parents’ apartment so they wouldn’t know it was gone and wouldn't suspect him of the shooting.

According to the affidavit, Lott was upset during the police interview because media had called the shooting “senseless.” He said it was not senseless because he had thought it out and planned it because he had talked to the devil about it.

RELATED: Read Lott's arrest affidavits in full below