A US man's use of a smartphone application to get legal help in the middle of the night proved key in getting his drink-driving conviction overturned.
Davenport police violated Craig Hermann's rights during his 2014 arrest, when a breath test showed his blood-alcohol content was more than twice the legal limit, the Iowa Court of Appeals ruled on Wednesday.
An Iowa law firm, Rehkemper & Lindholm, developed the Oh Crap! App to allow users to know their rights during traffic stops and other police encounters.
In addition to providing tips such as be polite and remain silent, the application allows users to record audio of their interactions with officers and to contact an on-call lawyer in their area.
Hermann used the application's "contact a lawyer" function to reach one of the firm's on-call junior associates after he was pulled over and arrested at 1am on October 4, 2014, said one of the app's creators, lawyer Bob Rehkemper.
Police officers stopped Hermann for driving without his headlights on, then arrested him after noting he had bloodshot eyes and smelled of alcohol.
After getting advice through the app, Hermann invoked his right to request an in-person consultation with a lawyer or family member, as allowed under Iowa law.
He told an officer that such a person was on the way, but the officer said "there was no time to wait" and that Hermann needed to decide whether to submit to a breath test.
A judge upheld the officer's actions and found Hermann guilty.
But the appeals court reversed those decisions on Wednesday, throwing out the results of the breath test and Hermann's conviction.
The court noted that when Hermann invoked his right for an in-person consultation, police still had an hour to give him a breath test before a two-hour window for administering such tests ended. Not giving him more time violated his rights, the court said.
The ruling is the first documented case in which the app, which was launched in Iowa in 2014 and has been expanded nationwide, has helped a user avoid conviction, he said.
Law enforcement officials have criticised the free app, saying they fear it will promote drink driving by giving users the impression they can always get out of legal consequences.