The Rego Park woman who fatally shoved a man off of a Queens subway platform into the path of an oncoming 7 train in 2012 has been sentenced to 24 years in prison.

Erika Menendez, 33, pled guilty to manslaughter in March, for killing Sunando Sen, 46, at the Lowery Street station in Sunnyside, the Queens District Attorney says. She was sentenced on Wednesday.

"The defendant committed what is every subway commuter’s worst nightmare—being suddenly and senselessly pushed into the path of an oncoming train," Queens DA Richard Brown said in a statement. "The victim was shoved from behind and had no chance to defend himself. The defendant’s actions clearly show that she is a threat to society and deserving of today’s sentence.”

Menendez has been held without bail since her 2012 arraignment, a few days after the fatal push. At the time, cops said that she admitted to the crime, confessing: “I pushed a Muslim off the train tracks because I hate Hindus and Muslims ever since 2001 when they put down the twin towers I’ve been beating them up.”

Sen, an Indian immigrant, had been working on a Ph.D. in economics at NYU, the News reported at the time. He died of multiple blunt force trauma.

Menendez has a history of mental issues and violent outbursts. In January 2013 she allegedly assaulted a correction officer inside Elmhurst Hospital, after seeing herself on a hospital television. That same month, in an exclusive interview with the Post, she said, "My mind was just racing that day. I was mad. I was just angry. I was homeless. I was hungry. I was fighting with my boyfriend. He came running up the stairs, and I just got up and pushed him."