Климент VIII
San Marino faced many potential threats during the feudal period, so a treaty of protection was signed in 1602 with Pope Clement VIII, which came into force in 1631.