Luna the dog is going home. A settlement has been reached between the City of Troy and Luna's owner.

"I think this strikes a cord for all dog owners. This could happen to anybody's dog, but Cade and her family [were] going to fight until the end and fortunately the ending is a happy one," said Luna's attorney, Margaret Donnelly.

Luna will be placed on probation for two years, but avoids the dangerous dog label. Rather, she will be spayed and microchipped, and has to be leashed and muzzled in public.

Owner Cade Saba must also pay a $1,500 fine before she can pick Luna up from Mohawk Hudson Humane Society.

"The humane society has been really great at allowing us to go visit. I really don't know what we would have done if we weren't able to see her. It's been kind of our life saver," Saba said.

Back in October, Luna became the face of Troy's "dangerous dog law," which orders a dog be put down if it bites a human or animal. But the city voted to amend that law after public outcry and thousands of people rallied around Luna to spare her life.

"I think here we had a very sweet dog. A dog that had very human like characteristics, and I think people really have a connection with these types of cases. People don't want municipalities intervening in their lives, threatening to put down their dogs," said Jonathan Schopf, attorney for Mohawk Hudson Humane Society.

Re-united and it feels so good! It's a Christmas miracle as I was so happy to be on-hand this evening to see Luna be reunited with her owner, Cade Saba at @Mohawkhumane. The real hero is Luna, who has demonstrated over past 2 months she is a kind, loving & compassionate dog! pic.twitter.com/6goalC5mYR — Jim Tedisco (@JamesTedisco) December 18, 2018

Mohawk Hudson is taking care of Luna's procedure, and plans to see her reunited with her family just in time for the holidays.

"I think most of my tears are for my six-year-old. She went to Petsmart with me last week and picked out all of her stuff, and put it under the tree. She helped me wrap the stuff, so I think it's going to be the best Christmas present to have her home," Saba said.

The Corporation Counsel which represents the city released a statement as well.

"For the last six weeks, the City has advocated on behalf of the dog being returned upon the owner’s agreement to measures designed to prevent another incident involving the animal. [Tuesday's] resolution spares the dog's life, and mandates the owner take additional steps to protect the public and other dogs,” said the statement.

Schopf says improvement still needs to be made to the city's dangerous dog ordinance, which now handles dog bites on a case-by-case basis. But he said thanks to Luna's story, the law is better than it stood in the past.