Updated

Calgary has ended a state of emergency after extensive flooding turned parts of the western Canadian city into a lake and forced up to 100,000 Albertans from their homes.

Mayor Naheed Nenshi lifted the state of emergency Thursday, two weeks after the floods began.

Premier Alison Redford called the floods the worst in Alberta's history and said rebuilding could take 10 years.

Three bodies were recovered during the floods.

Most of the people evacuated have returned to their homes.