A musician in the Detroit area has agreed to relocate his adopted dog to another town after a photo of him and the animal, who appears to be smiling with his new owner, sparked complaints and a police visit to their home, according to reports.

A beaming Dan Tillery and his friend celebrated the adoption with a Facebook post on Monday. The picture of the happy duo went viral, with more 21,000 reactions on Facebook, the Detroit News says. The picture was picked up by national media, including ABC News and People magazine.