A mountain lion cornered by a game warden near a San Francisco playground and shot with a tranquilizer gun on Friday has been fitted with a GPS collar and is back in the wild.

The animal was spotted earlier in the day amid trees, brush and ivy behind a housing complex in the city's Diamond Heights neighborhood. Authorities decided to tranquilize the cat and relocate it because it was near a playground and in a heavily populated area.

Front seat to the #mountainlion adventure in #sanfrancisco. Since I called 911, @SFPD converted my apt to the "control center" from where the mission unfolded. pic.twitter.com/KHdmDsAJdc — Bopanna (@ubopanna) November 10, 2017

Lt. James Ober, a Fish and Wildlife game warden, shot the 82-pound male a second time, after he saw the animal still moving after 10 minutes. By 2 p.m., the mountain lion had been loaded onto a truck, its paws secured with straps and a black mask over its eyes.

The animal was turned over to the Santa Cruz Puma Project out of the University of California at Santa Cruz.