LONDON (AP) " Britain has voted to leave the European Union, stunning the world.

Reaction was swift, with those who pushed to leave celebrating, global markets plunging and Prime Minister David Cameron announcing he would resign by October.

Here's a gallery of photos from the final frantic day of campaigning through Election Day and the aftermath.