In the 16th century, the population of Ljubljana numbered 5,000, 70% of whom spoke Slovene as their first language, with most of the rest using German. The first secondary school, public library and printing house opened in Ljubljana. Ljubljana became an important educational centre.