Middle Ages
The origin of Ferrara is uncertain, it was probably settled by the inhabitants of the lagoons at the mouth of Po river; there are two early centers of settlement, one round the cathedral, the other, the castrum bizantino, being the San Pietro district, on the opposite shore, where the Primaro empties into the Volano channel. Ferrara appears first in a document of the Lombard king Desiderius of 753 AD, as a city forming part of the Exarchate of Ravenna. Desiderius pledged a Lombard ducatus ferrariae ("Duchy of Ferrara") in 757 to Pope Stephen II. After 984 it was a fief of Tedaldo, count of Modena and Canossa, nephew of the emperor Otto I. It afterwards made itself independent, and in 1101 was taken by siege by the countess Matilda. At this time it was mainly dominated by several great families, among them the prominent Adelardi (or Aleardi) family.
In 1146, Guglielmo II of Adelardi, the last of the House of Adelardi, died, and his property passed, as the dowry of his niece the Marchesella, to Obizzo I of Este. There was considerable hostility between the newly entered family and the prominent Salinguerra family, but after considerable struggles Azzo VII of Este was nominated perpetual podestà in 1242; in 1259 he took Ezzelino of Verona prisoner in battle. His grandson, Obizzo II (1264–1293), succeeded him, and he was made perpetual lord of the city by the population. The House of Este was from henceforth settled in Ferrara. In 1289 he was also chosen as lord of Modena, one year later he was made lord of Reggio. Niccolò III (1393–1441) received several popes with great magnificence, especially Eugene IV, who held a council here in 1438. His son Borso received the title of duke for the imperial fiefs of Modena and Reggio from Emperor Frederick III in 1452 (in which year Girolamo Savonarola was born here), and in 1471 was made duke of Ferrara by Pope Paul II. Ercole I (1471–1505) carried on a war with Venice and increased the