A Sacramento woman, Etta Mae Lopez, 31, has reportedly slapped a cop with one goal in mind — get thrown in jail long enough to quit smoking.

Lopez “waited all day for a deputy to come out because she knew if she assaulted a deputy she would go to jail and be inside long enough to quit her smoking habit,” said Sacramento County Sheriff’s Deputy Matt Campoy.

Lopez stood patiently outside the jail waiting for an officer in uniform to exit. When she saw Campoy, he quickly became her target as he passed a line of inmate family members outside of the building. The 5-foot-1-inch woman made her move and caught him completely off-guard.

“She suddenly stepped into me and slapped my face,” described Campoy. “I’ve been telling everybody I have a new Irish name: Nick O’Derm.”

She was quickly handcuffed and taken into the jail. Once the handcuffs were removed, Lopez struck his wrist.

In court, Lopez pleaded no contest to misdemeanor battery on a peace officer and was sentenced to 63 days in jail. She was also given a five day sentence for violating her 2010 probation for a drunken driving conviction.

Upon sentencing, Lopez was ordered to stay away from deputies when she is released.

The big question remaining on everyone’s minds — will Lopez be able to kick her smoking habit behind bars?