Who were they?
Like the Afshars, the Qajars were a Türkmen tribe, part of the Qizilbash confederacy who had rallied to support the Safavid conquest of Iran. It's assumed, that like the Afshars, they entered Iran with other Oghuz tribes in the 11th century (there's no record). After the end of the Il-khanate and the advent of Timur, they would have moved west into eastern Anatolia. They would have moved again, into Azerbaijan in the 15th century during the Aq-Quyonlu period, where, like other Oghuz they would have come under the influence of the Twelver Shi'ism associated with the Shaikhs of Ardabil, ancestors of the Safavids. They thereafter played a significant, though minor, part in the activities of the Qizilbash tribal forces. Abbas I moved half the Qajars from Azerbaijan to Mazandaran, ostensibly to strengthen the frontier against the Uzbeks. By the time of the Afghan invasions, they had established a tradition of loyalty to the Safavids. Hence their leader, Fath Ali Khan, offered support to Tahmasp II when he fled from Isfahan, and joined him in the attack on Mahmud Sistani in Mashhad: Tahmasp was also reinforced by a small force under Nader Quli - under whose spell Tahmasp immediately fell. The Qajar leader was spurned, and was soon murdered (October 1726). In 1740 the new Qajar chieftain, from a different branch of the clan, Muhammad Husain Khan, who had supported Nader Shah transferred his loyalty Nader Shah's son, Reza Quli. They murdered the deposed Safavid shah, Abbas III, and his father Tahmasp, and plotted to assassinate Nader himself. Soon though, there was conflict between Husain, and Fath Ali Khan's son Muhammad Hasan Khan - as well as with the Afghans and the Zands. After Nader Shah's death, his son Adil Shah prevented Hasan from regaining Mazandaran, and, though Hasan escaped, captured his son (aged 5 or 6) - and had him castrated. This was Agha ("The Eunuch" ) Muhammad Khan Qajar, the future shah, and founder of the Qajar dynasty.
In 1759, Hasan, who with his son had been fighting to become unchallenged ruler of Iran, was defeated by the Zands under Karim Khan (see previous page), and his son was again captured - and remained a hostage (though well-treated) for the next 20 years. In the confusion after the death of Karim Khan Zand in 1729, Agha Muhammad escaped .... See here for the rest of the story of his rise to power.
AGHA MUHAMMAD KHAN QAJAR (1795 - 1798)
The mercifully brief and bloody rule of Agha Muhammad has been covered here. He's remembered as one of the most vicious and unpopular rulers in Iranian history - but he was a highly successful military commander and strategist, and left an Iran united and secure for the first time in several centuries. There was unfinished business with the Russians in the Caucasus, though. Although there was the usual confusion and struggle for power after his assassination - his designated successor, his nephew Baba Khan, soon asserted his authority, and was crowned as shah Fath Ali Shah on 21st March 1798 (Nauruz) in the Gulistan Palace, Tehran.
FATH ALI SHAH (1798 - 1834)
War with Russia
"[The Caucasus] is Russia's Wild West, though the mountains lie to the south of Moscow. Here since the 17th century, Russian colonisers have tried to subdue a congeries of proud peoples: Chechens, Ingush, Ossetes, Daghestanis, Abkhaz, Kartvelians, Kakhetians, Armenians, Azeris ... The complex emotional reaction of the Russians to the very fact of the Caucasus, which both tantalize and threaten them, opens a window on to the entire Russian story."
Russia had been drawn into Persian affairs most recently by Agha Muhammad's treatment of Georgia - an Iranian province, from where there had been a ready supply of Christian slave-soldiers (ghulams) since the days of Tahmasp I and Abbas I. Georgia had virtually declared itself a Russian satellite for its own protection against attacks by Nader Shah and Agha Muhammad. Russia's intervention had been muted during the reigns of Catherine II and Tsar Paul - but after Paul's assassination in 1801, Georgia was annexed. Resistance was crushed.
But geopolitics was now very different: events in Iran, for the first time, impacted on the great European powers - Britain and France as well as Russia. The story of their involvement - though serious for Iran, from an outsider's viewpoint, resembles a school playground where best friends in an instant become deadly enemies and vice versa.
1 1801 Britain allies with Iran against Afghans - due to worry over India, and shock at Napoleon's invasion of Egypt in 1798. Mission from East India Company, led by John Malcolm. French excluded from Iran, suspected of planning to attack India with Russian support. 1804 Russia invades Caucasus. Massacre of Muslims. Checked by Abbas Mirza, son of Fath Ali Shah.
2 1805 Iran invokes 1801 treaty, but Britain refuses help to Iran against Russians, because they've now allied with Russia against Napoleon (crowned emperor of France in 1804)
3 1807 Iran allies with France: Treaty of Finkelstein - France guarantees Iran's borders, recognises claim to Georgia, supplies arms. Iran to sever contact with Britain, help Afghans, and prepare a French invasion of India.
4 1807 After Napoleon defeats Russians at Friedland, France allies with Russia: Treaty of Tilsit. Russians attack Iran and Ottoman Turkey. Russia defeats Turkey, then Iran (1808). French abandon Iran.
5 1809 Britain allies with Iran again. New treaty of friendship and alliance. Britain to train Iranian army. Iran to sever contact with France. Iranian war with Russia continues.
6 1812 Napoleon attacks Russia. Britain and Russia make peace. Britain withdraws help to Iran. Russia defeats Iran in Caucasus.
7 1813 Russia and Iran make peace. Treat of Gulistan: Iran loses Azerbaijan and Georgia (though borders not delineated). Iranian fleet banned from Caspian: only Russian warships allowed. Russia to approve heir to throne. Angry reactions in Iran encouraged by religious leaders (mullahs).
8 1815 After defeat of Napoleon, Britain renews 1809 treaty with Iran. Britain to help and arm Iran in a war, provided that it was defensive.
9 1821-1823 Iran victorious in war with Ottomans. Treaty of Erzerum - no border changes. Russia invades further into Caucasus.
10 1826 Second Russo-Persian war begins. Muslims in occupied Caucasus revolt and Iran reconquers territory lost in 1813 in Treaty of Gulistan. Britain quibbles over help under treaty of 1809.
11 1827 Russia counter-attacks, taking Yerevan (Armenia) and Tabriz. Abbas Mirza defeated. Iran surrenders.
12 1828 Treaty of Turkmanchai. Iran cedes all territory north of Aras river to Russia. Privileges for all Russians within Iran (only later for all Europeans). Fixed trariffs for trade with Russia. Iran to pay 20 million roubles in reparations. British had been reluctant to respond to treaty of 1814, on grounds that Iran was aggressor. Mutual suspicion between Britain and Iran.
13 1829 Assassination of prominent Russian in Tehran followed by anti-Russian riots. Tsar Nicholas I, however, is still friendly.
14 Iran settles disturbances on eastern frontier (Sistan, Khorasan) - and attempts to annex Afghanistan (which was splitting into Herat, Qandahar and Kabul once more). Britain suspects Russia of encouraging Iran, and is frightened of threat to India if Iran took Herat. Plan abandoned when crown prince Abbas Mirza dies en route (1833). Russians had guaranteed the succession: Abbas' son Muhammad Mirza is recognised as crown prince. Fath Ali Shah died next year, in 1834.
Overview of Fath Ali Shah's reign
He reigned for 37 years - a fact that in itself produced a modicum of stability after the half-century or so of chaos. He was not a great ruler - but in Abbas Mirza he had a son and heir who was energetic and forward looking. It was not really his fault that his battles were against a major power, with resources of men, money and materiel far beyond anything Iran could have produced. His premature death is widely regarded as a catastrophe for Iran. Fath Ali revived the traditions of luxurious living - in abeyance during the reigns of Nader Shah and Karim Khan - and spent much time in the harem: allegedly he fathered 260 sons by 158 wives. He also loved having his portrait painted - magnificently dressed and extravagantly bearded. But he couldn't disguise the fact that Iran had been humiliated by Russia and played for a fool by Britain and France. An attack on the crumbling Ottoman empire was an attempt to restore prestige. It achieved some success, but ultimately came to nothing when the army was stricken with cholera, and had to retreat. But Persia was not colonised. It did not, as once may have been feared, become another India. And his subjects probably mostly enjoyed a modest prosperity - if they had not been living in the Caucasus region.
"Persia is at present happier and more tranquil than it has been for a long period; its monarch, by the comparative mildness and justice of his rule has entitled himself to a high rank among the kings of Persia."