An inspiring image just emerged of a cop braving Hurricane Harvey to save the American flag

As heavy winds and record rainfall approached the Texas Gulf Coast on Friday, one brave police officer weathered the life-threatening elements to save an American flag from being blown away and ripped to shreds — and one awe-inspiring photo captured the amazing act.

The small coastal community of Aransas Pass, Texas, was among the hardest hit during Hurricane Harvey, which the National Hurricane Center labeled a Category 4 storm. Category 4 hurricanes can carry winds of up to 130 mph. Despite the extremely dangerous conditions, however, one of the town's officers sacrificed everything to rescue the prided symbol of his country.

The Aransas Pass Police Department posted a photo of Officer Jack McCarty in a neon rain coat reaching for Old Glory as the storm pounded down.

"While some dishonor and desecrate her, APPD Ofc. Jack McCarty will stop at nothing to honor and save her.#GodBlessAmerica #HurricaneHarvey," the department said in a Facebook post.

Hurricane Harvey is the worst storm to hit the Texas coast in more than a decade. So far, two people have died as a result of the storm, NBC News reported.

Millions of people, from Galveston to Houston, have been displaced. In the city of Houston alone, 5,500 people are currently staying in shelters.

Houston Mayor Sylvester Turner said Monday that "the number is expected to rise."