In full: Maria Miller's resignation letter
Maria Miller has resigned as culture secretary following a row over her expenses.
She was cleared of funding a home for her parents at taxpayers' expense, but was told to repay £5,800 of the expenses she claimed.
The Basingstoke MP, who apologised last week amid growing calls for her resignation, said the controversy had become a "distraction from the vital work this government is doing".
Mrs Miller wrote to Prime Minister David Cameron to tender her resignation. Here is their exchange of letters in full:
Dear Prime Minister,
It is with great regret that I have decided that I should tender my resignation as a member of the cabinet.
I am very grateful to you for your personal support but it has become clear to me that the present situation has become a distraction from the vital work this government is doing to turn our country around.
I have been a member of the Conservative Party for more than 30 years. As a working mother, educated at a South Wales comprehensive school, I know that it is our party that understands the importance of giving everyone the opportunity to succeed regardless of where they come from.
I am immensely proud of what my team have been able to achieve during my time in government: ensuring that our arts and cultural institutions receive the rightful recognition that they deserve in making Britain great; putting women front and centre of every aspect of DCMS's (Department for Culture, Media and Sport) work; putting in place the legislation to enable all couples to have the opportunity to marry regardless of their sexuality.
Of course, implementing the recommendations made by Lord Justice Leveson on the future of media regulation, following the phone hacking scandals, would always be controversial for the press. Working together with you, I believe we struck the right balance between protecting the freedom of the press and ensuring fairness, particularly for victims of press intrusion to have a clear right of redress.
I will continue to support you and the work of the government as you move forward. Ensuring the best future for the people of Basingstoke has been my priority throughout the last nine years. Whether on the front or back benches of the House of Commons I will continue this work.
The only reason I was able to become an MP and indeed a government minister and cabinet minister is because of the unstinting support of my husband, my mother, my father and my three children. I owe them all a great deal.
Prime minister's reply
Thank you for your letter. I was very sorry to receive it.
I think it is important to be clear that the Committee on Standards cleared you of the unfounded allegations made against you, a point which has been lost in much of the comment in recent days.
You can be extremely proud of your work in government - as secretary of state for culture, media and sport, as minister for women and as minister for disabled people.
You have been responsible for successfully handling two of the most controversial issues with which this government has dealt. As culture secretary, you have played a critical role in advancing Britain's proud record of respect and equality in piloting the Equal Marriage Act through parliament and onto the statute book. There are many people in our country today, and there will be many in the future, who will always be grateful for this very important change, which you did so much to bring about. You have also handled the sensitive subject of press regulation with skill and dedication.
You can be very proud as well that you have led one of the most important infrastructure projects: many more premises are now able to access super-fast broadband . You have also ensured a lasting legacy for the Olympic Games.
As you leave the government, you should be proud of your service on the frontbench and in opposition.
I am personally very grateful for the support you have always given me, and which I am sure that you will continue to give. I hope that you will be able to return to serving the government on the frontbench in due course, and am only sad that you are leaving the government in these circumstances.