The system of racial segregation and oppression in South Africa known as apartheid was implemented and enforced by many acts and other laws. This legislation served to institutionalize racial discrimination and the dominance by white people over people of other races. While the bulk of this legislation was enacted after the election of the National Party government in 1948, it was preceded by discriminatory legislation enacted under earlier British and Afrikaner governments. Apartheid is distinguished from segregation in other countries by the systematic way in which it was formalized in law. Segregationist legislation before apartheid Although apartheid as a comprehensive legislative project truly began after the National Party came into power in 1948, many of these statutes were preceded by the laws of the previous British and Afrikaner administrations in South Africa's provinces. An early example is the Glen Grey Act, passed in 1894 in Cape Colony, and which had the effect of diminishing the land rights of Africans in scheduled areas. List of apartheid segregation in South Africa Population registration and segregation The Population Registration Act, 1950, required that every South African be classified into one of a number of racial "population groups". This act provided the foundation upon which the whole edifice of apartheid would be constructed. The Reservation of Separate Amenities Act, 1953 allowed public premises, vehicles and services to be segregated by race, even if equal facilities were not made available to all races. The Reservation of Separate Amenities Act was repealed by the Discriminatory Legislation regarding Public Amenities Repeal Act, 1990, and the Population Registration Act was repealed by the Population Registration Act Repeal Act, 1991, but the racial classifications remained on the population register until 1992. Job reservation and economic apartheid Mines and Works Act, 1911 Native Building Workers Act, 1951 Native Labour (Settlement of Disputes) Act, 1953 Industrial Conciliation Act, 1956 Segregation in education Bantu Education Act, 1953 Extension of University Education Act, 1959 Coloured Persons Education Act, 1963 Indians Education Act, 1965 Sexual apartheid The Immorality Act, 1927 forbade extramarital sex between white people and black people. The Prohibition of Mixed Marriages Act, 1949 forbade marriages between white people and people of other races. The Immorality Amendment Act, 1950 forbade extramarital sex between white people and people of other races. These laws were repealed by the Immorality and Prohibition of Mixed Marriages Amendment Act, 1985. Land tenure and geographic segregation The Natives