WELLS, ME (CBS Local) – A friendly dog’s “thank you” to the firefighter who rescued him from a roof has gone viral.

The pup in Wells, Maine got himself into a rough situation over the Memorial Day weekend when he escaped out the second floor window of his owner’s home and was trapped on a small porch roof.

READ MORE: Car Crashes Into Storefront In Philadelphia's Oxford Circle Neighborhood

“We received numerous calls but one concerned citizen, Phil Burke, discovered him early on and notified us. Another awesome citizen stood by with the dog until we could arrive on scene!” Wells Police wrote on Facebook.

READ MORE: Man Killed, 16-Year-Old Student Shot In Head After Fight Near Lincoln High School, Philadelphia Police Say

When a firefighter climbed up to help the dog get back inside, the grateful pup became more interested in showing his appreciation than getting off the roof. Police on the ground recorded the friendly dog circling Fire Department Captain Jeff Nawfel and giving him a bunch of kisses on the face before getting a final nudge back into his home.

MORE NEWS: SEPTA Riders Held Up Phones As Woman Was Raped On El Train In Upper Darby, Authorities Say

The dog’s “thank you” was posted on May 27 and has already been viewed over 16,000 times. “Thank you to all that called and helped save him,” officers wrote on Facebook.