Yes. And he explained it in a way that avoids further dividing his country
"I was absolutely clear about my belief that Britain is stronger, safer and better off inside the European Union, and I made clear the referendum was about this and this alone, not the future of any single politician, including myself.
But the British people have made a very clear decision to take a different path, and as such I think the country requires fresh leadership to take it in this direction.
I will do everything I can as Prime Minister to steady the ship over the coming weeks and months, but I do not think it would be right for me to try to be the captain that steers our country to its next destination.
The British people have made a choice. That not only needs to be respected, but those on the losing side of the argument — myself included — should help to make it work."