A married man accused of killing his girlfriend after learning she was pregnant has confessed to the crime.

David Rapoport, 31, pleaded guilty to two counts of first degree murder Thursday in the deaths of Jennifer L. Snyder, 27, and their unborn baby.

He was sentenced to two terms of life in prison.  His guilty plea allowed him to avoid the death penalty which District Attorney Jim Martin said he would seek.

Rapoport apologized to Snyder's family and said he would regret killing her for the rest of his life.  He also apologized to his wife.

Family members of both Rapoport and Snyder filled the courtroom. 

"We are very relieved that the person responsible for the death of Jennifer and her son has taken responsibility and accountability for their actions," said Snyder's aunt, Trina Angelovich.  "Jen was an amazing, loving, kind, and peaceful girl."

In March, Rapoport shot Snyder three times, police said.  He then wrapped her body in trash bags, bound her with duct tape and left her on the side of Game Preserve Road in Lehigh County.

Investigators said Rapoport and Snyder once worked together at  Maple Hills Veterinary Clinic in Lower Macungie Township.  He was a veterinarian, she a veterinarian technician. 

Snyder's pregnancy upset Rapoport, leading him to kill her and their child, authorities said.

She had planned to name her son Athan, Snyder's family said.