Sri Lanka's intelligence chief has left his post after an emergency meeting on Friday.
President Maithripala Sirisena said he sacked Sisira Mendis after he appeared before a parliamentary committee investigating the Easter Sunday blasts in April.
However, Mendis says he resigned.
On Thursday, he told the committee the attacks could have been prevented.
He said the president should have held more security meetings. But President Sirisena is refusing to cooperate with the inquiry.
Al Jazeera's Minelle Fernandez reports from Colombo.