PHOTO: courtesy Johnny Mathis
Now playing
00:55
See man rescue dog after its leash got stuck in elevator
McCarthy
McCarthy
PHOTO: CNN
Now playing
01:40
'Far too close:' Army secretary reveals sobering details on riot
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:44
Trump mostly in seclusion during final days of presidency
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
PHOTO: Seth Herald/AFP/Getty Images
Now playing
04:37
Expert: Social media to extremism is like oxygen to fire
Now playing
00:00
CDC warns new Covid-19 variants could accelerate spread in US
PHOTO: @FLOTUS
Now playing
02:51
Watch Melania Trump's farewell message
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
PHOTO: Tom Williams/CQ-Roll Call, Inc/Getty Images
Now playing
02:49
GOP lawmaker accused of giving 'reconnaissance' tour prior to Capitol riot
PHOTO: CNN
Now playing
04:36
Former FBI adviser calls Trump a charismatic spark for extremism
guatemala honduras migrants tear gas Oppmann intl ldn vpx_00000604.png
guatemala honduras migrants tear gas Oppmann intl ldn vpx_00000604.png
PHOTO: CNNE
Now playing
01:30
Authorities use tear gas and batons against US-bound migrants
PHOTO: CNN Weather
Now playing
02:03
California faces strong winds and increased fire threat
PHOTO: Getty Images
Now playing
02:41
Alexey Navalny arrested on his return to Moscow
PHOTO: CNN
Now playing
01:47
John King: It's a horrific time to become president
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor's entrance to the headquarters of the National Security Agency (NSA) after a shooting incident at the entrance in Fort Meade, Maryland, February 14, 2018. - Shots were fired early Wednesday at the ultra-secret National Security Agency, the US electronic spying agency outside Washington, leaving one person injured, officials said. Aerial footage of the scene from NBC News showed a black SUV with numerous bullet holes in its windshield crashed into concrete barriers at the main entrance to the NSA's headquarters in Fort Meade, Maryland. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
PHOTO: Saul Loeb/AFP/Getty Images
Now playing
01:31
Christopher Miller orders NSA chief to install Trump loyalist as agency's top lawyer
PHOTO: CNN Weather
Now playing
02:41
US to rejoin the Paris Climate Accord on Bidens First Day
Now playing
02:38
Biden: Science team 'among the brightest, most dedicated'
Mike Pence remarks vpx
Mike Pence remarks vpx
PHOTO: Senate TV
Now playing
02:27
New timeline shows just how close rioters got to Pence and his family
MyPillow notes
MyPillow notes
PHOTO: Jabin Botsford
Now playing
02:21
Photographer snaps notes of MyPillow CEO after visiting Trump
(CNN) —  

A man saved his neighbor’s dog after its leash got caught in an elevator door on Monday and their apartment security cameras captured the rescue.

Johnny Mathis, 27, was coming home from work in Houston, Texas and had just parked his car in his apartment complex’s underground garage. Mathis lives on the ground floor of his community so he took the elevator up to his floor. As soon as he got off, a woman and her dog were trying to get on.

“When she got on, I was looking at the dog, because it was a cute dog,” Mathis told CNN. “I noticed the leash was kinda long but I didn’t think it wasn’t going to make it on the elevator or anything.”

In the 39-second clip Mathis posted on Twitter, you see him leaving the elevator but quickly coming back to pick up the Pomeranian once he saw the owner was gone and it was still stuck there alone.

Mathis said he yelled back to her, “hey your dog!” when he noticed the Pomeranian didn’t make the elevator.

“Instinct just kicked in, I just grabbed that leash,” he said. “There was so much fur, that’s why it took me a bit to get that lever off of the collar and when I did, I let go, you could see that leash just shoot off to the top of the elevator.”

As soon as the elevator doors shut, Mathis said the dog’s owner could be heard frantically crying.

The moment he was able to get the Pomeranian off its leash, Mathis said he kept banging on the elevator doors to let her know her dog was safe but he doesn’t think she heard him.

“She thought the worse, that the dog had died,” he said.

When the owner returned back to the ground floor, Mathis said she was so thankful but still visibly upset and couldn’t stop crying.

“I think she just said ‘thank you’ and we hugged but she was just so overcome with emotion,” he said.

Mathis hasn’t seen her since but thinks she had just moved to the apartment complex so he wasn’t sure if she didn’t know how the elevators worked, but that there was really no way to know that this could have happened the way it did.

A day after the incident, Mathis went to his apartment leasing office and explained to the leasing agents what happened. They went to take a look at the security video and saw it unfold all over again in disbelief that the dog made it out safely.

Mathis was happy he was there to help and said this could have happened to anyone – a perfect example of being in the right place at the right time.