The incident happened in the northeastern part of the country.
Firefighters were called in after a man was seen hanging outside a fifth story window. One rescuer climbed outside with the suspect to push him back.
The rest of the team pulled from inside.
It took rescuers 30 minutes to get him to safety.
He was then arrested.