The Federation of Nigeria was a predecessor to modern-day Nigeria from 1954 to 1963. It was a British protectorate until its independence on 1 October 1960. British rule of Colonial Nigeria ended in 1960, when the Nigeria Independence Act 1960 made the federation an independent sovereign state. Elizabeth II remained head of state as the Queen of Nigeria, as well as other dominions and commonwealth realms. Her constitutional roles in Nigeria were exercisable by the Governor-General of Nigeria. Three people held the office of governor-general during the whole existence of the Federation of Nigeria: