The first doctorates were awarded in the mid twelfth century to recognise teachers (doctors) in mediaeval universities, either in civil law at the University of Bologna or in theology at the University of Paris. These were followed shortly afterwards by doctorates in canon law, and then in the thirteenth century by doctorates in medicine, grammar, logic and philosophy. These mediaeval doctorates remained, however, essentially teaching qualifications, with their major importance being the "ius ubique docendi" – the right to teach anywhere.