When King Gyanendra took complete control for the second time, on 1 February 2005, he dismissed Prime Minister Sher Bahadur Deuba's government for failing to make arrangements for parliamentary elections and being unable to restore peace in the country, which was then in the midst of a civil war led by Maoist insurgents.