The Jesuits dominated university education in Moravia at the beginning of 18th century as they controlled the University of Olomouc. The focus on theology and philosophy was unwelcomed by the Moravian nobility. The nobility initiated commencement of law education at the University of Olomouc in 1679. Later in 1725 the Moravian nobility enforced establishment of the Academy of Nobility in Olomouc. Law and economy, mathematics, geometry, civil and military architecture, history and geography were lectured there. As it aimed to promote knighthood also foreign languages, dance, swordsmanship and equitation were taught there. The Academy was in Olomouc until 1847, when it was relocated to Brno, where it became bases for what was later to become the University of Technology.