07/22/2011 08:40 am ET | Updated Sep 21, 2011

LA Traffic Officer Fired For Being In Porn Film

View more videos at:

LOS ANGELES (Associated Press) --; A Los Angeles traffic officer was fired for appearing in a pornographic film while on duty more than three years ago.

John Dancler was dismissed Monday for misconduct on the job and engaging in indecent acts that reflected poorly on the city workforce, according to his notice of discharge obtained Thursday by The Associated Press.

The inappropriate acts include "groping the bare breasts, spanking the bare buttocks, and being straddled by an adult video actress in public," the notice said.

Dancler's dismissal was first reported Thursday by the Los Angeles Times.

Dancler , a 23-year veteran of the city's Department of Transportation, has filed an appeal challenging his discharge, and his request will be considered July 28 by the city's Civil Service Commission, its executive director Bruce Whidden said.

A call to Dancler's attorney Bobby Samini was not immediately returned.

Dancler and another traffic officer came under investigation three months ago after KNBC reported they appeared in a video showing a uniformed officer spanking and fondling an actress. One scene shows the actress performing lewd acts in a city car.

The other officer received appropriate discipline and is still working, transportation department spokesman Bruce Gillman said. He declined to elaborate on the discipline because state law protects the privacy of employees when they don't appeal a disciplinary action.