when they were a short distance from the wide-open gate to the courtyard , a young lad stumbled outside the walls clutching a sword that was much too big for his small frame , and attached to the end was a crudely made white flag .