A Kentucky factory worker spent 14 months behind bars on child porn charges before his case was dropped, according to local media.
Authorities failed to find evidence of child pornography on any of David Allen Jones' electronic devices after several searches of his apartment, local newspaper the Lexington Herald-Leader reported.
Jones is now taking legal action after he was charged just over US$4000 (NZ$5550) for his time spent behind bars.
The bill included a US$35 booking fee, US$10 daily housing fee, US$5 hygiene fee, and US$3 hygiene supply refill fee.
Jones says he should not be charged for being wrongly imprisoned.
In a deposition in one of Jones' lawsuits, he stated he had to move away from his hometown because the publicity surrounding the arrest ruined his reputation, causing him to lose his job and friends.
According to the outlet, Jones was charged in October 2013 after local police claimed they had linked his IP address to illegal video content.
After his home was raided, Jones was arrested. His bond was set at just over US$15,000, a bill he could not afford. He remained in custody before his trial.
Further investigations proved there was no evidence of illegal content on his electronic devices and prosecutors said his IP may have been hacked, causing officers to trace the criminal activity to him.
A tablet, cell phone, Xbox, server, modem, printer, and DVDs were confiscated by police.
Jones was released in December 2014 after more than a year in prison.
The factory worker maintained his innocence throughout the ordeal, the newspaper reports, and waived his right to counsel early in the investigation.
However, the county strictly defended its right to bill Jones, referencing state legislation which claims even if someone is not convicted, they could still be financially responsible for their prison time.
County lawyers said being charged for jail time is not a punishment - it's just the county doing business, the outlet reported.
The Kentucky Supreme Court will decide if charging Jones is constitutional on April 22.