The infant, Samuel Torres Jr., was shot twice in the head with a medium-caliber weapon Thursday night, police said. He was pronounced dead at Covenant Children's Hospital.

Anaisabel Torres, 10, and Samantha Perez, 11, remained in critical condition Friday at Covenant and University Medical Center, respectively, police and a hospital spokeswoman said.

A Lubbock County judge had told the infant's mother, Maria Trujillo, on May 31 that she had 30 days to have the paternity test performed, court records show. It was unclear Friday whether the test was done, but Trujillo told investigators Thursday evening that Stanley Perez Jr., her 33-year-old boyfriend and former common-law husband, was the child's father, according to police reports.

Torres, 33, took his own life Thursday after shooting the three children inside the family's home.

Torres had been harassing Trujillo for some time, the 29-year-old mother told police. When Trujillo filed for divorce May 1, she sought and obtained a restraining order against Torres, court records show. Trujillo told police Thursday that she had been staying with Perez, who is also Samantha's father, according to a police report.

Perez and Trujillo had a common law marriage in the late 1980s, according to the online edition of the Lubbock Avalanche-Journal.

A judge ordered the paternity test during discussions about Torres' child support. The judge set the payment at $155 a month for Anaisabel.

Torres worked at Commercial Metals, a scrap metal recycling company just outside Lubbock, where, according to court records, he made minimum wage.

"He was a good and trusted employee," said Dennis McCollum, Torres' supervisor.

Police said the shooting occurred a short time after Torres hid in Trujillo's van while she was visiting Perez at his apartment, about six blocks from her home. Torres jumped from the rear of the van and surprised Trujillo as she began driving away.

The two struggled and Trujillo escaped from the van while it was moving. She and Perez called police and were telling an officer about the abduction when a call came over his police radio that shots had been fired at a nearby residence.

Trujillo told the officer the address matched her home. About that time, Anaisabel, bleeding from two gunshot wounds, called Trujillo on her cell phone after running to a neighbor's house with the family's phone.

She told her mother that Torres had shot all three children and then himself. Anaisabel also called 911, said the neighbor, who asked not to be identified.

After lobbing in a percussion grenade, police made their way into the home, where they found Torres, the baby and Samantha on the floor of the living room. All had been shot in the head and the gun lay near Torres' body, police said.