 Borso and his successors ruled Ferrara as a quasi-sovereign state until 1597, when it came under direct papal rule.The origin of Ferrara is uncertain.It was probably settled by the inhabitants of the lagoons at the mouth of the Po.