A Legal Aid lawyer appeared before a judge in Manhattan court this week — only this time, he was the defendant.

Anton Ditchev, a 34-year-old Brooklyn Law School grad, is accused of launching into a lewd rampage that included groping two female strangers and slugging another in the face.

Ditchev was in front of the Marriott’s Fairfield Inn & Suites at 330 W. 40th St. at about 8:40 p.m. Sunday when he put his hand on a woman’s backside, according to court papers and a witness.

His wife was with him at the time.

“We were leaving the Sky Room [bar], and as we were walking, I hear my [female] friend yell to the [Ditchev], ‘Excuse me, you just touched my butt!’ ” witness Jamilya Gillin, 28, told The Post on Wednesday.

Gillin said that as she tried to break up the cat fight, Ditchev grabbed her by the hair, then slugged her second pal in the face.

“As we were walking away, the guy [Ditchev] slapped my butt really hard, then kicked my other friend in the butt,” Gillin said.

Cops showed up and arrested Ditchev.

Gillin said the pal who got punched was the most seriously injured and “was bleeding on her back, chest and under her eye.”

The lawyer was arraigned Monday on six counts of forcible touching, assault, sex abuse and harassment raps in Manhattan Criminal Court, in the same building where he usually represents clients. He was released without bail.

“I wouldn’t like to respond,” he said when reached by phone.

The Legal Aid Society, which provides legal representation to the indigent, defended its staffer.

“We believe that Anton is absolutely innocent of any charges,” said spokeswoman Pat Bath.