Full voting representation and full French legal, labor, and property rights were never offered to the entire sujet class. The Loi Cadre of 1956 extended more rights, including consultative 'legislatures' for the colonies within the French Union. Within three years, this was replaced by the referendum on the French Community, in which colonies could vote for independence The First Indochina War resulted in independence for the different regions of French Indochina. The Algerian War and the French Fifth Republic of 1958 resulted in independence for most of the rest of empire during the period 1959–1962. The Comoros Islands (except Mayotte) and Djibouti gained independence during the 1970s. Those parts of the empire that remained (Mayotte, New Caledonia and French Guiana) became legally parts of France, and only then was the category of French subject ended.