Gratian was a medieval scholar and theologian best known for his compilation of canon law known as the 'Decretum Gratiani,' which laid the foundations for the study of canon law in the Catholic Church. His work systematically organized various church laws and decisions, influencing church-state relations and enhancing papal authority by establishing a legal framework that addressed both spiritual and secular matters.