A veteran city teaching assistant is suing the Department of Education for wrongful termination after charges that he sexually abused a student were dropped Tuesday.


Married father Alameldin Abdelrahim, 63, was arrested last year after another staffer claimed that he had inappropriate contact with a 5-year-old boy at PS 200 in Bath Beach.


The accuser claimed she saw that Abdelrahim had an erection after reading to the tot whose head was near the veteran DOE staffer’s lap.


But citing a lack of evidence, the Brooklyn DA dropped the case outright — and now the Egyptian immigrant is struggling to restore his tarnished name.


“This has been a nightmare for my family,” Abdelrahim told The Post. “I had a good, peaceful life before this.”


Abdelrahim, who taught without incident at city schools for 18 years, said he was supported by ex-DOE colleagues — from principals to teachers — who offered to testify on his behalf.


With the raps dropped, his attorney, Cary London, said the DOE unfairly fired him without due process.


“These false and baseless allegations have ruined a career educator’s life,” he said.