A Detroit dog is on death row — all because his adorable smile went viral.

Musician Dan Tillery adopted 2-year-old Diggy last week and snapped a photo announcing the adoption. It was shared on Facebook by Detroit Dog Rescue; it soon went viral, and was picked up by People and “Good Morning America.”

But when officials in Tillery’s home of Waterford Township, Mich., spotted the cute photo, they immediately sent police to Tillery’s home because Diggy appeared to be a pit bull. The town has an ordinance banning the breed.

“[The cop] said, ‘You know, we don’t really need much more than I think he’s a pit, and that’s enough . . . You have three days to have him out of your home,’ ” Tillery said to CBS Detroit.

Tillery provided adoption papers from the City of Detroit Animal Control and Welfare agency stating that Diggy is an American Bulldog, not a pit bull, but officials have yet to respond.

He has until Monday to relocate Diggy.