A fugitive turned himself in after Googling himself last week and finding out he was one of California's most wanted.

Christopher Viatafa, 27, was wanted for firing several rounds into the floor during a private party at a Bay Area senior center last August. His mugshot on NorthernCaliforniaMostWanted.org, which went up in December, was the first result when he ran a vanity Google search for his name. (Now the top results are all stories about his surrender and arrest.)

"Although it wasn't good judgment that landed him on the website, he did use good judgment in turning himself in after seeing his photo," said San Leandro police in a statement.

Viatafa is charged with discharging a firearm in an inhabited dwelling.