Egyptian Prime Minister Hisham Qandi resigned Monday, addressing the resignation letter to ousted President Mohammad Morsi and decrying the military coup against him.
"I prepared this resignation to present it to his excellence President Mohamed Morsi on Wednesday," Qandil said in a statement accompanying his resignation letter.
The prime minister said he had tried to steer his government since the ouster of Morsi until the formation of a new government.
"But as it became practically impossible to work in view of the bloodshed, I decided to activate resignation at once."
At least 51 people were killed and hundreds wounded early Monday outside the Republican Guards headquarters in Cairo.
The army accused Morsi supporters of attacking troops guarding the compound, while the Muslim Brotherhood says army and police forces opened fire on its supporters while during the dawn prayer.
"After this obvious military coup and in view of this atmosphere, it has become difficult for any government to work," Qandil said.
"The blood shedding will disgrace us all, regardless of the reasons or intentions."
Education Minister Ibrahim Ghoneim also quit his post today protesting what he described as "massacre" outside the Republican Guards compound.
His resignation brings to 11 the number of ministers who have quit since the overthrowing of Morsi last Wednesday.