Two teenage girls, described as sex trafficking victims, were rescued during a joint law enforcement operation in Compton and 27 people were arrested, authorities said Friday.

The Los Angeles Regional Human Trafficking Task Force, along with deputies from the sheriff’s Compton Station, carried out a human trafficking operation in Compton on Wednesday in the area of Long Beach Boulevard and Elm Street, said Lt. Barry Hall of the Los Angeles County Sheriff’s Department.

Seventeen men and nine women were arrested after allegedly soliciting undercover sheriff’s deputies for sex acts, Hall said.

One man was arrested on suspicion of indecent exposure and soliciting after exposing himself to an undercover deputy while propositioning her for sex, according to Hall.

A 17-year-old boy was detained on a felony pandering charge after authorities said he tried to recruit an undercover deputy to work for him as a commercial sex worker, Hall said.

The two victims, ages 13 and 17, were released to the care of the Department of Children and Family Services, Hall said.