henderson had been chief justice of the superior court in north carolina-until the regulation had caused him to leave , climbing out the window of his courthouse and fleeing for his life from a mob bent on violence .