During Sebastian's short personal reign, he strengthened ties with the Holy Roman Empire, England and France through diplomatic efforts. He also restructured much of the administrative, judicial and military life in his kingdom. In 1568, Sebastian created scholarships to provide financial assistance to students who wished to study medicine or pharmacy at the University of Coimbra. In 1569, Sebastian ordered Duarte Nunes de Leão to compile all the laws and legal documents of the kingdom in a collection of "Leis Extravagantes" known as "Código Sebastiânico" (Sebastian's code).