You can help expand this article with text translated from the corresponding article in Italian. (January 2022) Click [show] for important translation instructions.
Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia.
Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article.
You must provide copyright attribution in the edit summary accompanying your translation by providing an interlanguage link to the source of your translation. A model attribution edit summary is Content in this edit is translated from the existing Italian Wikipedia article at [[:it:Sant'Agata Feltria]]; see its history for attribution.
You may also add the template {{Translated|it|Sant'Agata Feltria}} to the talk page.
Originally, the town belonged to the Church. Over time, it became a fiefdom controlled by prominent families like the Montefeltro, Malatesta, and Tarlati. Eventually, Cardinal Egidio Albornoz brought the territory back under the control of the Papal States.
The following period saw Sant'Agata Feltria under the authority of the rector of Massa Trabaria and then the Malatesta family, who held it from 1420 to 1463.
In 1420, Pope Pius II granted dominion of Sant'Agata Feltria to the Montefeltro family. This period also marked a significant historical and cultural connection with Genoa. Federico da Montefeltro, Duke of Urbino, solidified this link by marrying his daughter Gentile to Agostino Fregoso, son of the Genoese Doge Lodovico di Campofregoso, in 1470. As part of Gentile's dowry, Federico bestowed upon her the county of Sant'Agata Feltria. The son born from this union would later become Doge of Genoa. The Rocca Fregoso, a prominent fortress that is the symbol of the town, was commissioned in this period by Federico da Montefeltro. This fortress was designed by Francesco di Giorgio Martini.
The Fregoso family governed Sant'Agata Feltria until their lineage died out in 1660.
After the referendum of 17 and 18 December 2006, Sant'Agata Feltria was detached from the Province of Pesaro and Urbino (Marche) to join Emilia-Romagna and the Province of Rimini on 15 August 2009.[3][4]