A San Francisco police officer fighting disciplinary action for racist text messages has been arrested for bank robbery.

Rain Olson Daugherty was arrested Tuesday for allegedly handing a teller at East West Bank a note demanding cash on Nov. 29 and then walking out the door with $9,050 in cash, reported the San Francisco Examiner.

“Calm down, just do it,” Daugherty told the teller, according to investigators.

ADVERTISEMENT

Surveillance video shows he was not wearing a disguise, and he was later identified by two internal affairs investigators after police circulated security footage.

Daugherty, a 20-year veteran of the San Francisco Police Department, was charged Wednesday with bank robbery.

The 44-year-old police officer had filed a lawsuit in 2015 on behalf of himself and eight other officers seeking to block the police department from punishing them for sending racist and homophobic text messages.

The texts, which included jokes about burning crosses and shooting black acquaintances, were revealed during the federal corruption trial of former Sgt. Ian Furminger that came out of a joint investigation between the FBI and SFPD.

Daugherty and the other officers initially won their lawsuit after a judge ruled the police chief at the time had waited too long to pursue discipline, but an appeals court had overturned that ruling.

ADVERTISEMENT

Some of the officers’ cases were heard earlier this month by the police commission, but it’s not clear where Daugherty’s case stands because police disciplinary records are sealed.

Daugherty was also charged in July with felony theft from an elder and four counts misdemeanor possession of a controlled substance.

The officer bailed out of jail on $100,000, according to court records.