ST. PAUL, Minn. (AP) — A raccoon stranded on the ledge of a building in St. Paul, Minnesota, captivated onlookers and generated interest on social media after it started scaling an office building.

Onlookers and reporters tracked the critter's progress at it climbed the UBS Tower on Tuesday, interrupting work and causing anxiety for some. By Wednesday morning it had made it to the roof of the building, easing fears that it would plummet to its death.

St. Paul Animal Control put a trap and cat food on the roof, hoping to bring the raccoon down safely.

Nearby Minnesota Public Radio branded the raccoon with the hashtag #mprraccoon. The woodland creature also had its own Twitter account, with one tweet saying, "I made a big mistake." Many feared for the raccoon's safety.

The raccoon was first spotted on a ledge Tuesday morning.

Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.