Qabala castle
The Qabala castle, also Gabala castle or Kabala castle, was an ancient castle near modern Çuxur Qəbələ, in ancient Shirvan, modern Qabala Rayon of Azerbaijan.
Safavid occupation (1538)
The Qalaba castle was already an important strategic position when the Safavid invaded Shirvan in 1538. At that time Shirvan was in chaos following the death of Khalilullah II in 1535. The Shirvanese nobles brought Shahrukh, his nephew from Gazikumukh Shamkhalate and enthroned him, instead of Khalilullah's half-Safavid son Burhan Ali. This triggered Qalandar revolt. This was enough excuse for Safavid forces to intervene to "quell disarray".In March 1538 Tahmasp I ordered Alqas Mirza to move against Shirvan. After crossing Kura river with 300 men-strong garrison and 20,000 soldiers and occupying Surkhab and Qabala castles and moved on to besiege Gulustan [Fortress (Shamakhi)|Gulustan Fortress] which was being defended by Nimatullah beg. Tahmasp subsequently ordered the Bughurt Fortress to be demolished on 19 October and appointed Alqas as first beylerbey of Shirvan, ending 677-year-long independent state of Shirvanshahs.