A wild coyote that was on the loose Tuesday in Chelsea has been captured by police.

Police say the coyote was spotted by a maintenance worker at the Penn South apartment complex on 28th Street near Ninth Avenue just after 9 a.m.

That worker flagged down a nearby police officer, who got in touch with the Emergency Services Unit.

Officers from Emergency Services Unit #1 responded and captured the animal in the courtyard at Holy Apostle Church.

"The coyote was contained in a courtyard next to the church, and at that point, we used our tranquilizer darts on the coyote, and it takes a little while for the tranquilizer to take its effect," said Det. Robert Mirfield of the NYPD. "At that point, when we felt it was safe enough, we used an animal noose to capture the animal."

Coyote sightings have been on the rise in the city. Just last month, a coyote was spotted on a Long Island City rooftop.