A military occupation followed the restoration of the pre-coup government of the Hashemite monarchy. The occupation ended on 26 October 1947, although Britain was to retain military bases in Iraq until 1954, after which the Assyrian militias were disbanded. The rulers during the occupation and the remainder of the Hashemite monarchy were Nuri as-Said, the autocratic Prime Minister, who also ruled from 1930 to 1932, and 'Abd al-Ilah, the former Regent who now served as an adviser to King Faisal II.