How do I get rid of the hangman?


Hint 1 of 2:
You'll need to get past the lancers and the chaperones first.

Hint 2 of 2:
Once of the squares has a lever on it.  It might be helpful.