WEST PALM BEACH, Fla. – A South Florida police officer is accused of stealing thousands of dollars from a home during a drug raid.

Zachary Immler, 31, of Boca Raton, was arrested Tuesday on a grand theft charge.

According to a West Palm Beach police report, the theft occurred Oct. 25 while officers were serving a search warrant at a home on 29th Street.

A woman who lived there told police that there was more than $5,000 in cash inside the home, but officers were unable to find the money.

"The (woman) pointed to the dresser and stated the money should be on the floor behind the curtains," Officer Daniel Leffew wrote in the report. "(An undercover officer) looked behind the dresser and moved the curtains. The money was not there."

As officers began searching the room again, Immler asked to speak with his sergeant in private, the report said.

Immler admitted to the sergeant that he had the money, Leffew wrote.

"I got it. I got the money," Immler told the sergeant, according to the report. "I'm sorry. I f---ed up. I got the money. I did something stupid. I put the money in my car. I made a bad mistake."

Immler said he took the cash and put it in his car while he was putting away his tactical vest, the report said.

The stolen cash was found inside a latex glove that was in a rifle bag in Immler's car, the report said.

Police later determined that Immler had taken a total of $6,520 in cash.

Immler was booked into jail and later released on his own recognizance.