In an outdoor square, crowds cheered and sang, and some police officers kept order.