During the 1990s the Sierra Leone Civil War set these goals back destroying much of the country's infrastructure including schools; for example, 1,270 primary schools were destroyed. This created a shortage in schools which was compounded by a shortage in teachers and so made the legal requirement of universal basic education for all children difficult to obtain. At the end of the war in 2001 67 percent of school-age children were out of school.