After getting the secret to his strength, Delilah told the Philistine army about it. She sang him to sleep at her feet, and called a man to shave Samson's head. After getting his haircut, Samson was tied up while still asleep. He woke up and tried without success to break free from the ropes he was tied down with. The Philistines grabbed him, poked his eyes out with their swords and took him to Gaza, where he was put in prison.