Sultanate of Andalusia

Sultanate of Andalusia is a country in Iberian Peninsula, in north of the Gibraltar. It's bordered by Spain and Mediterranean Sea. It was established in 1791, after the Battle of Gibraltar of the Ottoman Empire. It was an eyalet in Ottoman Empire for 10 days. After 10 days, it became a vassal state.

Umayyad Caliphate
In 8th century, Umayyads was the first Muslim state that conquered Iberia. After Umayyads, Iberia was an Arab land for seven centuries.

Caliphate of Cordoba
After the Abbasid Revolution, Umayyads escaped to Andalusia and they established the Caliphate of Cordoba. Caliphate disintegrated during a civil war.

Taifa of Seville
After the civil war, Arab Iberia was disintegrated to many little countries or city-states. The strongest one of these countries was the Taifa of Seville. It was conquered in 1091 by Almoravid Morocco.

Almoravid Dynasty
After the conquest of Seville, Almoravids started to reign al-Andalus. Almoravids were a Berber-Arabic dynasty and they were collapsed by Almohads.

Almohad Dynasty
Almohads were the second Berber dynasty that reigned al-Andalus. They were collapsed by Christian Alliance. After Almohads, Christians got stronger in Iberia and Emirate of Granada was established.

Emirate of Granada
Granada was the latest Arab country before Spain. In 1492, Castilians conquered the last fortress of Granada and Iberia became a Christian Peninsula.

Castilian-Spanish Era
For three centuries, Iberia became a Christian peninsula and Arabs and Jews didn't live in Iberia. In 1790, Ottomans started raids to Morocco and Gibraltar and in 1791, they passed the Gibraltar Strait and started raids to Andalusia.

Ottoman Empire
In 2 years, Austria pushed Ottomans to the Thrace and they conquered up to Eyalet and Sanjak of Adrianople. Ottomans were strong enough in Caucasus and they conquered up to north of Sea of Azov. After these severe wars, Ottomans started to invade Africa and Andalusia. After the raids, Ottomans became successful in the Battle of Gibraltar and they established the Eyalet of Andalusia. After 10 days, Andalusia became a vassal of Ottoman Empire.