A letter from the Prime Minister to Baroness Warsi following her resignation said the government's policy on Gaza was "consistently clear" on the Gaza conflict and expressed disappointment that the two were "not able to speak about your decision beforehand".
I realise that this must not have been an easy decision for you to make and very much regret that we were not able to speak about your decision beforehand.
I understand your strength of feeling on the current crisis in the Middle East – the situation in Gaza is intolerable. Our policy has always been consistently clear: we support a negotiated two state solution as the only way to resolve this conflict once and for all and to allow Israelis and Palestinians to live safely in peace.
David Cameron also praised the Baroness for her work in Government, adding that he was "sorry" to receive her signature.
Perhaps most importantly, I would like you to know how much I have personally appreciated your support and friendship over the years, and your commitment to our Party and the Government. You were one of the early supporters of my leadership campaign in 2005, something for which I remain grateful.
You can take pride in your achievements in Government and, especially, for being the first Muslim woman in any British Cabinet. I appreciate your assurance of support in the months and years to come and I hope that you will always feel able to raise any issue with me at any time.
More top news
Labour strongholds tended to remain so - apart from a major loss for the party in Dudley.
Labour suffered a "terrible" defeat in Rhondda but has already won 16 Welsh Assembly seats as it looks to record a fifth term in office.