The 1872 Education Act had established a system of elementary state education up until the age of 12, by taking over the schools of the Presbyterian churches and some charitable schools.
The 1918 Education (Scotland) Act introduced the principle of universal free secondary education, although due to financial crisis and resistance from the SED it took almost two decades to implement.