An Amityville man was charged with a hate crime after allegedly assaulting a man in a Manhattan elevator Thursday in what police said was a racially motivated attack.

Devon Ahmad, 18, was riding in an elevator at 257 W. 39th St. on Thursday afternoon when he directed “anti-white remarks” toward the victim, according to Tiffany Phillips, an NYPD spokeswoman.

“He then proceeded to punch the victim in the face with a closed fist,” Phillips said.

The victim, whose name police did not disclose, was treated at a hospital for bruising and swelling around his right eye, Phillips said.

Ahmad had not posted bail of $15,000 cash or $25,000 bond as of Saturday afternoon, according to online court records.

“Once all the information regarding this case comes to light, it will be clear there is more to the story,” Ahmad’s attorney, Kasia Donohue, said in an email.

Ahmad’s family couldn’t be reached for comment. Ahmad was scheduled to return Wednesday to New York Criminal Court in Manhattan.

On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra and Matt Lindsay take a look top boys and girls basketball players on Long Island. Credit: Newsday

Sarra Sounds Off, Ep. 15: LI's top basketball players On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra and Matt Lindsay take a look top boys and girls basketball players on Long Island.

On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra and Matt Lindsay take a look top boys and girls basketball players on Long Island. Credit: Newsday

Sarra Sounds Off, Ep. 15: LI's top basketball players On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra and Matt Lindsay take a look top boys and girls basketball players on Long Island.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME