Amber Heard and Johnny Depp make their way through photographers on their way to court in Queensland, Australia, on April 18, 2016. Heard pleaded guilty to a minor charge to avoid two charges of illegal importation. Matt Roberts / Getty Images

The war on terrier is finally over, and Amber Heard is not going to Australian jail for 10 years. Heard, the American actress and wife of Johnny Depp, pleaded guilty to making a false statement to Australia’s immigration authority, and in exchange, the country’s judge threw out two charges of illegal importation that could have potentially landed her in prison for a decade.

According to the BBC, Heard will submit a video expressing remorse for her actions.

The charges stem from a 2015 incident in which Heard allegedly brought her and Depp’s two dogs, Pistol and Boo, with her to Queensland by private jet, running afoul of an Australian law requiring all dogs from foreign countries to spend 10 days in quarantine. Its laws are in place to protect the country's biodiversity; Australia is one of a handful of so-called megadiverse countries, a term it owes to the abundance of species living there. These countries are home to more than two thirds of the plant and animal species living on Earth.

The dogs’ presence inside the country was discovered thanks to Facebook posts published by a pet-grooming salon.

After government officials told Heard they would put her dogs down if they were not promptly removed from the country, she left and vowed never to return to Australia.

Weeks later, Depp appeared to make fun of the situation while answering questions at a press conference for a recent movie, “Black Mass.” “I killed my dogs and ate them under direct orders from some kind of sweaty, big-gutted man from Australia,” Depp said.

It is not clear whether Depp was referring to Barnaby Joyce, Australia’s minister of agriculture, who ordered the dogs out.

Joyce, for his part, received the Principled Decision-Making Froggatt Award from the Invasive Species Council for acting decisively.

“There is a process if you want to bring animals,” Joyce told Australia’s ABC Radio last year. “You get the permits, they go into quarantine and then you can have them. But if we start letting movie stars — even though they've been the Sexiest Man Alive twice — to come into our nation [and break the laws], then why don't we just break the laws for everybody?”