Caliphate of Córdoba
The first king of Seville was Abu al-Qasim (1023–1042). He was qadi of Seville and declared independence from the Caliphate of Córdoba after its downfall in 1031, becoming Abbad I, King of Seville. The second king was his son Abbad II al-Mu'tadid (1042–1069), the last king Muhammad al-Mu'tamid (1069–1091).