The film highlights the lives and deeds of Azerbaijani atabegs Shams ad-Din Eldeniz and Kara Sungur, who played a key role in strengthening the state in the 12th century. Shams ad-Din Eldeniz, the first great atabeg of Azerbaijan, leads successful campaigns, reclaiming territories and uniting the country under his rule. Kara Sungur, the ruler of Aran, engages in political intrigues and military campaigns to protect his lands and influence the sultanate. The film depicts their struggle for power, military achievements, and complex relations with allies and enemies.