SAN FRANCISCO (AP) — A lawyer familiar with the case says a San Francisco police officer has been fired for exchanging anti-Muslim text messages.

Lawyer Tony Brass says the officer was fired after inappropriate text messages were found during the investigation of a sexual assault involving colleagues working in the same station. Brass says officers’ phones were searched as part of that investigation.

READ MORE: UPDATE: Coyote Rescued from San Francisco Bay Treated, Released

Brass represented a lieutenant who retired amid the sexual assault investigation after he was charged with obstructing the probe. Brass declined to identify the recently dismissed officer.

READ MORE: 'We Just Want Him Back': French Bulldog Stolen at Gunpoint in Oakland

Police Commission President Julius Turman confirmed an officer was fired in February for bias. Turman declined to provide more details, citing police personnel rules.

Several San Francisco officers have been found to have exchanged racist, homophobic and derogatory text messages in recent years.

MORE NEWS: Chaos, Panic After Shots Rang Out At High School Championship Football Game

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.