The dog’s owner doubts that the burglar broke into his home with the aim of getting the dog. Instead, Eric Peterson said, he thinks his cherished pet was taken mainly because she could be easily picked up and carried off. Like a small TV, which was also stolen.

However, Margo’s shaggy blond canine allure did help to bring her back. Her picture, and the story of her loss, spread across social media, Peterson said. It was also on television. A $10,000 reward was offered.

Margo, a 20-pound cockapoo, was taken Thursday from her home a little beyond the northeastern edge of Capitol Hill. With the aid of the Internet, a good tip and the D.C. police department, she was back home Saturday.

Officer Paul Metcalf said a 19-year-old Northeast Washington man was arrested in the Thursday burglary and seven others.

Peterson said the report of his loss was shared online more than 700 times.

“This is a story that went crazy,’’ Peterson said. “People were enraged” by the theft of a pet.

As Peterson told it, someone saw Margo being walked on the street not far from the scene of the break-in. Notably, the dog gave no response to the name by which she was being called.

Although unaware of Margo’s loss, the witness reported what he saw to a friend who did know of it.

On Saturday morning, police showed up at a place linked to the witness’s sighting.

An officer found a dog. He called Peterson, and suggested he forgo a description. Instead, Peterson recounted, the officer asked for the dog’s name. “I said ‘Margo,’ ” Peterson said. “Margo,” the officer said aloud.

That did it, Peterson said. “Yeah,” the officer told him, “that’s your dog.”

Get updates on your area delivered via e-mail