After five hours of talks at a summit in Brussels, the UK and the EU have agreed a "flexible extension" of Brexit until 31 October.

Donald Tusk, the President of the European Council explained that the "course of action will be entirely in the UK's hands".