The yen soared, stocks tumbled and governments scrambled to make sense Friday of what lies ahead as Britain voted to become the first nation to leave the European Union.

A count of votes cast Thursday showed a majority of British residents want a future free of EU-imposed rules, despite the potential for higher tariffs and businesses moving to Europe.

British Prime Minister David Cameron resigned after the nation rejected his arguments for remaining in the bloc.