New York: A woman who admitted to shoving a Hindu man off a New York City subway platform to his death in an attack motivated by religious animus has been sentenced to 24 years in prison.

Erika Menendez was sentenced on Wednesday after pleading guilty to manslaughter for killing Sunando Sen in December 2012 in Queens.

According to the complaint, the 33-year-old Queens woman was seen talking to herself and pacing back and forth on a No. 7 train platform.

As the train entered the station, the complaint says Menendez approached Sen from behind and shoved him onto the tracks. Sen was struck by the train and died of multiple blunt force trauma.

Menendez told police she did it because she has hated Muslims and Hindus since the September 11, 2001, terror attacks.

Queens District Attorney Richard Brown called the killing “every subway commuter’s worst nightmare.”