Raleigh Police Department said on Monday that officers Mahood and Kostka worked tirelessly in the heat to help save the snake's life.
The snake had slithered into a mouse glue trap.
Despite the snake's repeated attempts to bite the officers, they used dish soap and pliers to remove layer after layer of glue.
VIDEO: North Carolina driver surprised by snake on windshield
Once complete, the officers released the snake back into the wild.