A suspected illegal immigrant was rescued Tuesday by San Diego firefighters after becoming ensnared in the razor wire on top of a fence at the U.S.-Mexico border, Fox5SanDiego.com reported.

Border Patrol agents saw the man stuck in the fence east of Otay Mesa just before 3:45 p.m., and they called the San Diego Fire Department, the report said. It took rescuers more than an hour to free the man stuck some 20 feet above the ground. The undocumented man was evaluated by EMTs at the scene and was not injured. He was handed over to border agents and taken into custody, the report said.

Read more from Fox News