On October 17, 1739, Cardinal Giulio Alberoni, Papal Governor of Ravenna, used military force to occupy the country, imposed a new constitution, and endeavored to force the Sammarinesi to submit to the government of the Papal States. He was aiding certain rebels, and acting possibly contrary to the orders of Pope Clement XII. However, civil disobedience occurred, and clandestine notes were written to the Pope to appeal for justice. On February 5, 1740, 3.5 months after the occupation began, the Pope recognized San Marino's rights, restoring independence. February 5, is the feast day of Saint Agatha, after which she became a patron saint of San Marino.