(CNN) Mali's Prime Minister Soumeylou Boubèye Maïga and his entire government have resigned, said the country's secretary general in a statement.

The mass resignation was accepted by President Ibrahim Boubacar Keïta, who offered thanks for "loyalty" and "high sense of duty," said the statement released Thursday.

After stepping down, Maïga took to Twitter to express his gratitude to the president for having permitted him and his government to "serve our country and our citizens" in a "crucial time in history."

The resignations took place in accordance with Article 38 of the Malian Constitution, which states that the president "shall put an end to the Prime Minister's functions on presentation by the Prime Minister of the resignation of the Cabinet."

A new prime minister is expected to be named soon and a government installed once consultation with all political forces in the country takes place.

Read More</s>African champions, Nigeria will contend with Burkina Faso, Niger Republic and Mali in the group phase of...</s>Burkina Faso is facing massive internal displacement because of violence. The United Nations reports more than 100,000 people have been displaced this year in the West African nation. And as VOA's Carla Babb reports from Burkina Faso's capital, Ouagadougou, the displacements are taking a deep toll on children and teachers forced out of the classroom.</s>Mali’s Prime Minister Soumeylou Boubeye Maiga and his entire government have submitted their resignations to the president of the country who accepted them. The decision came after the ministry came under mounting pressure over handling the violence in the restive Mopti region.

Violence from various internal conflicts in Mali has caused some 260,000 refugees and internally displaced people in the African country.

Mali has been struggling to restore stability since Islamist extremists linked to Al-Qaeda took control of the country’s vast desert north in early 2012. The jihadists were theoretically expelled in 2013, but extensive areas of the country, escape state control and remain exploited by local rebel groups.

The rage was rising especially after a massacre on March 23 in which 160 people were killed in the village of Ogossagou near the border with Burkina Faso.</s>Burkina Faso is facing massive internal displacement because of violence. The United Nations reports more than 100,000 people have been displaced this year in the West African nation. The displacements are taking a deep toll on children and teachers forced out of the classroom.
Burkina Faso's Prime Minister Soumeylou Boubèye Maïga and his entire cabinet resigns, being succeeded by Boubou Cisse. No reason is addressed.