Britain and the world said a final goodbye to Queen Elizabeth II at a state funeral Monday that drew presidents and kings, princes and prime ministers — and crowds who massed along the streets of London to honor a monarch whose 70-year reign defined an age.

A day packed with events in London and Windsor began early when the doors of 900-year-old Westminster Hall were closed to mourners after hundreds of thousands had filed in front of her flag-draped coffin. Many had waited for hours in line, including through cold nights, to attend the lying in state in an outpouring of collective grief and respect.

Monday has been declared a public holiday in honor of Elizabeth, who died Sept. 8 — and hundreds of thousands of people descended on central London to partake in the historic moment. Long before the service began, city authorities said viewing areas along the route of the funeral’s procession were full.

Following the funeral, the coffin — accompanied by units of the armed forces in dress uniforms and members of her family — was brought through the capital’s streets.