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: Pitt Quarterback Kenny Pickett Named Heisman Trophy Finalist

“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: Sabrina Spellman Makes An Appearance On The CW's Riverdale; Kiernan Shipka Reveals 'Fans Will Get Some Clarity'

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: 2 Dogs Found Shot To Death In Westmoreland County

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.