A Dallas trucker who faced decades in prison after making a wrong turn into Mexico will get his charges lessened and may only have to pay a fine, authorities said Thursday.

A Mexican appeals judge reduced the charges of Jabin Bogan, who was stopped in Mexico while carrying a trailer full of ammunition. Bogan, who faced a potential 30-year prison sentence, says his GPS stopped functioning and he made a wrong turn from West Texas to Cuidad Juarez – a mistake that landed him in a Mexican jail.

Bogan, who has been held in a maximum security prison in Veracruz since late April, is now only accused of possession of ammunition instead of a heftier trafficking charge that the judge dismissed. The lesser charge carries a maximum of six years in prison if convicted, though Bogan's attorney, Emilio de la Rosa, said he will advise his client to plead no contest so he can push for his release.

"We've given this guy back 30 years of his life," de la Rosa told The Associated Press.

The judge's decision comes two months after testimony from Mexican customs agents contradicted prosecutors' claim that Bogan had 268,000 bullets hidden under the floorboards of his 18-wheeler's trailer when he was arrested April 17 after crossing into Juarez. Agents testified in June that Bogan was trying to make a U-turn back into the U.S. when they found the ammunition bundled on top of wooden pallets inside the trailer.

Since then, Bogan's lawyers and family in the U.S. have cried foul, claiming the ammunition charge was too hefty for what they claim was an honest mistake.

The 27-year-old Bogan had made two deliveries in El Paso, Texas, and said he was supposed to drive to Phoenix to deliver assault rifle ammunition to a wholesaler there when he got lost. He said he took a wrong exit on the freeway and drove toward the border, where he said a law enforcement official told him to continue driving across the bridge. Bogan said that when he realized he had crossed into Mexico, he attempted to turn back, but the layout of the traffic lanes prevented him from returning without first crossing into the truck inspection area in Juarez.

De La Rosa said surveillance footage taken at the border crossing shows Bogan blocking several lanes of southbound traffic for more than half an hour while trying to maneuver his 18-wheeler back to U.S. soil.

Mexican prosecutors alleged he tried to clandestinely smuggle bullets commonly used by drug cartels. Their request to impose both possession and trafficking charges against Bogan was rejected.

A message left with prosecutors was not immediately returned Thursday.

Based on reporting by The Associated Press.

Follow us on twitter.com/foxnewslatino
Like us at facebook.com/foxnewslatino