A Dallas man has been arrested in the fatal shooting of a pregnant woman at a northwest Dallas apartment.

Randy Lamone Chiles, 28, was booked Saturday afternoon on a capital murder charge in the slaying of Jennifer Moore.

Randy Chiles (Dallas County Jail)

Moore, 28, was found dead in a bed around 11:45 a.m. Wednesday after officers were summoned to a home in the 2800 block of Clydedale Drive, just off Northwest Highway near Denton Drive.

Officers also found Chiles in the apartment and a gun on the floor.

Moore, who was five months pregnant, died from a gunshot wound in the head, according to the Dallas County medical examiner.

Chiles' mother told police that her son had told her about 8:45 a.m. that day that something was wrong with Moore. She told her son to call 911 and went into the room to check on the younger woman and saw that she wasn't moving, according to an arrest warrant affidavit.

That's when Chiles pointed a gun at his mother and told her to get in the closet. She repeatedly asked whether he was going to shoot her, the warrant says.

"No, because you are my mother, and I love you," Chiles told his mother, according to the affidavit.

The woman told police she was in the closet for more than two hours.

She said she heard a commotion in the bedroom and later heard Chiles snoring. She pushed out of the closet and ran to a neighbor's apartment to get help. She believed her son had taken "an unknown amount of medication," the warrant says.

When police arrived, Chiles was questioned and taken to the hospital for treatment for taking the medication.

The warrant says Chiles may have tried to kill himself while his mother was in the closet.