Бабек
Kaleybar, known as Badd or Baddayn (or Badhdh) in Islamic chronicles, was the stronghold of Babak Khorramdin who, in 816 AD, revolted against Islamic Caliphate. Babak's resistance was ended in 836 when he was defeated by the Iranian General Afshin, acting on behalf of the Caliphate. The events of the two decades long tumultuous times subjected the town to the reports of early Islamic historians.