A crowd stood in the courtyard, cheering and clapping, waving flags.