A perilous rescue in Texas was caught on body cam.

>> Read more trending news

Harris County Sheriff's Deputy Roberto Martinez was dispatched to a fire just after 3 a.m. March 5.

Neighbors told the deputy a 63-year-old woman was trapped inside a burning trailer home.

Martinez sprang into action, busting a window with his flashlight and pulling the woman through the window.

Officials said he “carried her to safety before collapsing from exhaustion and choking on smoke.”

Martinez and the woman were treated for smoke inhalation at a local hospital.

The Baytown Fire Department reportedly believes the blaze was accidental.

FULL VIDEO: Texas Deputy Rescues Woman From Burning Home