CASPER, Wyo. (AP) — A Wyoming man arrested for refusing to identify himself for police has been awarded $149,000 to settle a lawsuit he filed after spending a night in jail.

A judge sentenced Casper man Tim Haid to two months in jail but a higher court overturned the conviction, ruling police violated his Fourth Amendment rights.

The Casper Star-Tribune reports two officers approached Haid in 2017 while he was parked on a street in his truck and waiting for his girlfriend.

The settlement calls for the Wyoming Association of Risk Management to pay $56,000 on behalf of the city and for the state of Wyoming to pay $93,000 on behalf of the officers.

Police spokeswoman Rebekah Ladd says no one should be subjected to the treatment alleged in the case.