During the Middle Ages boys went to university from the age of 14 or 15. Before, they were trained with a "schoolmaster" or a private teacher, generally in or near their hometown. Later they moved to a prestigious city with a university: Oxford, Cambridge, Toulouse, Bologna, Padua, Paris, Salamanca and Coimbra were the most prestigious of the time. There they studied in some of the faculties into which these knowledge centers were divided: Arts, Law, Medicine and Theology, at the same time that they were grouped according to origin.
For example, those who studied at the Faculty of Arts studied for 6 years different disciplines divided into two groups: the trivium, which included grammar, logic and rhetoric, and the quadrivium, which included arithmetic, astronomy, geometry and music..