LAMAR RAYSON, who has lived in federal prison since 2007, wasn't going anywhere for decades.

But yesterday, he learned that he's likely to die behind bars.

Philadelphia Common Pleas Judge Alice Dubow sentenced him to 37 1/2 to 75 years in state prison for a 2004 Christmas Eve home-invasion robbery and rape in Wissinoming, Pa.

Rayson, 29, will begin serving that sentence after he completes a 32-year sentence in federal prison that he received for his role in five armed robberies of city businesses in 2005, and a 2006 armed carjacking in Germantown.

"With her sentence, Judge Dubow has ensured that no man, woman, or child will ever be victimized or terrorized by this defendant again," Assistant District Attorneys Branwen McNabb and Ashley Lynam said in a statement released by the District Attorney's Office.

On Oct. 22, Rayson pleaded guilty to rape, involuntary deviate sexual intercourse, burglary, four counts of robbery and related offenses for the 2004 Christmas Eve attack committed by him, and two still-at-large accomplices, on Torresdale Avenue near Benner Street.

During the early morning hours, the three assailants stormed into a home behind a male resident who was entering the front door.

Brandishing firearms, Rayson and his accomplices forced the man and his girlfriend, 45, to the floor, ransacked the house and rounded up jewelry, electronics, telephones, clothing, cash, a purse, credit cards, identification and Christmas gifts from under the Christmas tree, according to the District Attorney's Office.

Before leaving, Rayson awoke the woman's two sleeping children and demanded at gunpoint that they hand over their electronic devices.

He and one of his accomplices then forced their mother into a bedroom and raped her while the third accomplice held the boyfriend and children at gunpoint in another room.

In 2007, Rayson was arrested and pleaded guilty in federal court to the 2006 carjacking and five armed robberies, which included a 7-Eleven and four Chinese restaurants.

He was not arrested for the 2004 rape-robbery until 2012, when the FBI's Combined DNA Index System, known as CODIS, linked his DNA to the crime.