>> Read more trending stories  

They had worked and lived together for three years, but Ajax was still considered city property, The Associated Press reported.

Because of that designation, Ajax was to be sold at auction.

But after a compromise suggested by the city that would allow Hickey to keep Ajax if he worked as a volunteer was declined by Hickey, the city allowed him to buy Ajax for less than a cup of coffee, a single dollar.

Hickey told The AP that he is "speechless and very grateful" that he gets to keep Ajax as part of his family.

More than $72,000 was raised on GoFundMe after Hickey's story went viral.

Since Hickey was able to buy Ajax for $1, the money raised on the fundraising site will go to Vested Interest in K9's Inc and will help provide bullet and stab proof vests for law enforcement dogs.