A group of Orange County deputies did not harass a fellow deputy because he is Muslim, a federal jury decided Monday.

Waleed Albakri had sued the Orange County Sheriff’s Office, where he worked from 2008 to 2014, alleging that co-workers called him a "terrorist," among other derogatory terms, and started a criminal investigation against him because of his religion.

Albakri filed an internal complaint with the Office of Professional Standards in August 2014, saying the Sheriff's Office was a hostile workplace. He was working undercover in a drug and prostitution unit.

Two months later, deputies arrested him and accused him of staging a burglary the previous year to collect renter’s insurance, records show. Prosecutors eventually dropped the charges when Albakri went into a pretrial diversion program.