When he finally succeeded , after a prolonged siege and heavy losses , he punished the local population by cutting off the noses and lips of all men except those who played wind instruments .
The punishment he imposed n the local population was the cutting off of their noses .