The U.N. Security Council voted unanimously on Thursday to put the brakes on the withdrawal of the joint U.N.-African Union peacekeeping force in Sudan’s vast western Darfur region as the country deals with a political crisis.

The council approved a resolution to extend the current mandate of the force, known as UNAMID, for four months until October 31.

It asks Secretary-General Antonio Guterres to provide an update in 60 days on the situation on the ground and it asks the U.N. and AU to make recommendations by Sept. 30 on what the council should do about continuing the withdrawal.