Australian man Baxter Reid, who spent more than two weeks locked up in a US federal detention centre for overstaying his visa by just 90 minutes, has been released from custody.
The 26-year-old from Canberra was taken to the Batavia Detention Centre in Buffalo, New York, after being stopped on the US-Canadian border on April 23.
His case made headlines around the world and led to an online GoFundMe campaign that raised more than US$10,000 for his legal defence.
"He was very happy," Reid's lawyer Julie Kruger told AAP as she described his reaction in court today when a judge announced he would be freed.
Reid crossed into Canada with his American girlfriend, Heather Kancso, just before his US visa expired at midnight on April 23.