An undercover deputy was shot in the head by a motorcyclist Monday morning in Halladale Beach, Fla., a local FOX television station reported.

The suspected shooter is in police custody, and the injured officer has been transferred to Memorial Regional Hospital in Hollywood, Fla. The officer is listed in critical condition.

"He is in grave condition at the this point," sheriff's spokeswoman Veda Coleman-Wright said.

The Broward County Sheriff's Office deputy, who was not identified, stopped the motorcyclist but the suspect ran away, then turned and shot the deputy, according to a statement released by authorities.

Police did not say why the suspect, who was later arrested at a nearby condominium, was pulled over. His name was not released.

Nearly a dozen officers and rescue workers helped load the deputy onto a stretcher to be brought to Memorial Regional Hospital. He was wearing shorts and shoes, without a shirt.

The Associated Press contributed to this report.