Theresa May has said she was "proud " to work in David Cameron's government as she thanked him for his service to the country.
The new prime minister said that the Conservatives had achieved "great things" under her predecessor as he resigned from parliament.
I was proud to serve in David Cameron’s Government – and under his leadership we achieved great things. Not just stabilising the economy, but also making great strides in delivering serious social reform.
His commitment to lead a one nation Government is one that I will continue – and I thank him for everything he has done for the Conservative party and the country.
I wish him and his family well for the future.
Cameron said he would stay on as Witney MP after resigning as PM - but he said in practice it was an impossible switch.
The former prime minister has stepped down from his position in parliament as he resigned his seat as the MP for Witney.
He rose to lead the country before an equally dramatic downfall after failing to persuade the public to vote to remain in the EU.