Babak Khorramdin
The Khurramites in Azerbaijan were associated with Javidhan, a landlord who led one of the two Khurramite movements in Azerbaijan (from 807-808 to 816-817), with his headquarters being Badd Fort, near the Aras River. The leader of the other Khurramite movement was Abu Imran, who often clashed with Javidhan. During one of the clashes, probably in 816, Abu Imran was defeated and killed, and Javidhan was wounded and died three days later. Javidhan was succeeded by his heir, Babak Khorramdin, who married Javidhan's widow.