A woman convicted of pushing a man to his death in front of a 7 train in Queens has been sentenced to 24 years in prison.

Erika Menendez, 33, pleaded guilty to manslaughter in March. She shoved 46-year-old Sunnando Sen in front of a train entering the 40th Street-Lowery Street station in December 2012.

According to prosecutors, Menendez was seen pacing back and forth and talking to herself on the platform before she pushed Sen from behind.

Prosecutors say Menendez told police she pushed him because she hated Muslims and Hindus. Sen was an Indian immigrant and a practicing Hindu.

Authorities say Menendez has a history of mental health problems.