Sri Lankan Defence Secretary Hemasiri Fernando told Reuters on Thursday that he had resigned, taking responsibility for the suicide bomber attacks on the country last Sunday.
He said that while there had been no failure on his own part, he was taking responsibility for failures of some institutions he headed as the secretary of defence.
He said that security agencies were actively responding to intelligence they had about the possibility of attacks before they were launched.
"We were working on that. All those agencies were working on that," he said.
The Easter Sunday bombings on churches and luxury hotels killed at least 359 people and wounded about 500.
Also read
Foreigners caught up as Sri Lanka searches for clues to attacks
Sri Lanka on edge with lock-downs, raids for suspects
Blast in town east of Sri Lankan capital
The wealthy family behind Sri Lanka's suicide attacks