Prime Minister David Cameron speaks as he leaves Downing Street for the last time with his wife Samantha Cameron and children Nancy Cameron, Arthur Cameron and Florence Cameron on July 13, 2016 in London, England.
"I think it's right when you're trying to settle a really big constitutional issue, you don't just rely on parliament, you ask the people as well", Cameron told parliament when asked, tauntingly, if he had succeeded on the issue of Europe.
Speaking outside No. 10 Downing Street shortly before his meeting with the monarch, Mr Cameron said being Prime Minister was "the greatest honour" of his life and that it had "not been an easy journey", reported the BBC.
She was invited to form a Government by the Queen in a simple ceremony at Buckingham Palace less than half an hour after Mr Cameron had tendered his formal resignation to the head of state.
Only minutes later, they were entering Buckingham Palace, where Mr Cameron was due to leave his family for a private audience with the Queen which would make him, at 49, the youngest person to leave prime ministerial office for more than a century.
After six years as leader, Mr Cameron will formally hand in his resignation to Queen Elizabeth later on Wednesday, passing control of the country to fellow Conservative Theresa May, who will be in charge of negotiating Britain's exit from the EU.
"There are many unbelievable moments in this job but that was one of my favourites".
Meanwhile, Danny Kinahan, the Ulster Unionist MP for South Antrim, suggested Mr Cameron could fill another leadership position once he has left Number 10.
Cameron's musical exeunt from No. 10 Downing Street has inspired music nerds all over the world.
Cameron gives nod to civil service in final speech as prime minister
"Good afternoon. When I first stood here in Downing Street on that evening in May 2010 I said we would confront our problems as a country and lead people through hard decisions so that together we could reach better times".
I can not say I have agreed with much of what David Cameron has done while he has been Prime Minister.
He says he would be a "radical and credible" leader.
The Labour Party executive committee has ruled that his name must be on the ballot despite his lack of backing among legislators.
The victor will be announced in late September.
In parliament on his last day, Cameron tried to address the public disconnect with the political class by praising MPs for their diligence as public servants.
Cameron will step aside on Wednesday after losing the campaign to keep Britain in the European Union.
The final question was given to Conservative heavyweight Kenneth Clarke, the 1990s finance minister.
Mr Cameron went on: "Above all I want to thank Samantha, the love of my life".
May will seek to calm the country, and the financial markets, after upheaval following the unexpected result in the June 23 referendum.