Alcazarquivir is the Spanish name for a town in Morocco called Ksar el Kebir that is located some 60 miles south of Tangiers and has a population of around 100,000 people.

It's mostly known by Western historians for a famous battle held in 1578 between the portuguese army led by king Sebastian and his moroccoan ally king Muhammad al Mutawwakil on one side and another moroccoan army led by Abd el-Malik, who kas an uncle of Muhammad al Mutawwakil and was claiming to be the real king.

All of them were killed in the fight; so the Portuguese crown vas left vacant and this made room for Philip II of Spain to claim it.