The Tajiks are the direct descendants of the Iranian peoples whose continuous presence in Central Asia and northern Afghanistan is attested from the middle of the 1st millennium BC. The ancestors of the Tajiks constituted the core of the ancient population of Khwārezm (Khorezm) and Bactria, which formed part of Transoxania (Sogdiana). They were included in the empires of Persia and Alexander the Great, and they intermingled with such later invaders as the Kushāns and Hepthalites in the 1st–6th centuries AD. Over the course of time, the eastern Iranian dialect that was used by the ancient Tajiks eventually gave way to Farsi, a western dialect spoken in Iran and Afghanistan.

The Arab conquest of Central Asia that began in the mid-7th century brought Islam to the region. But tribal feuds weakened the Arabs, and, with the rise of the Sāmānids (819–999), the Tajiks came under the rule of an Iranian dynasty. The first Turkic invaders (from the northeast) seized this area of Transoxania in 999, and, because both conquered and conquerors were Muslim, in time many Tajiks—especially those in the valleys of the Syr Darya and Amu Darya—became Turkicized. This resulted in the transformation of a formerly purely Iranian land into “Turkistan.” The name Tajik, originally given to the Arabs by the local population, came to be applied by Turkic invaders and overlords to those elements of the sedentary population that continued to speak Iranian languages.

Until the mid-18th century the Tajiks were part of the emirate of Bukhara, but then the Afghans conquered lands south and southwest of the Amu Darya with their Tajik population, including the city of Balkh, an ancient Tajik cultural centre.

Russian conquests in Central Asia in the 1860s and ’70s brought a number of Tajiks in the Zeravshan and Fergana valleys under the direct government of Russia, while the emirate of Bukhara in effect became a Russian protectorate in 1868.

After the Russian Revolution of 1917, a considerable proportion of the Tajik people was included in the Turkestan Autonomous Soviet Socialist Republic ( A.S.S.R. ), established in April 1918. In August 1920 the Revolution was extended to the khanate of Bukhara, which embraced most of the territory occupied by modern Tajikistan; the Bukharan People’s Soviet Republic was declared in October 1920, and early in 1921 the Soviet army captured Dushanbe and Kŭlob (Kulyab). Tajikistan was the scene of the Basmachi revolt in 1922–23, and rebel bands under Ibrahim Bek operated in eastern Bukhara until 1931. The Tadzhik Tajik A.S.S.R. was created as part of the Uzbek Soviet Socialist Republic (S.S.R.) in 19241925; in January 1925 a special Pamir Special Pamirs region was created out of the Kara-Kirgiz Kyrgyz and Tajik parts of the Pamirs, and in December 1925 this region was renamed the Gorno-Badakhshan autonomous region. On December 5, In 1929 , the status of the Tadzhik Tajik A.S.S.R. was raised to that of a union Soviet socialist republic (S.S.R.). . The change in status marked the first time that the Tajik people had their own state, albeit not a fully independent one, as it was still part of the Soviet Union.

As a full-fledged member of the Soviet Union, the backwardunderdeveloped, mountainous Tadzhik Tajik S.S.R. underwent a spectacular social and economic and social transformation. A small-scale industrial base was established, and the quality of health care and education improved. As sense of nationhood was instilled in the Tajik people—particularly by B.G. Gafurov, the leader of Tajikistan’s Communist Party from 1926 1946 to 1956 , B.G. Gafurov—a and a historian respected in the West—instilled a sense of nationhood in the Tajik people.West. Dams were constructed for electric power generation and irrigation, and industry was developed in the Vakhsh River valley. Soviet health care and education were gradually introduced in the republic. The village of Dushanbe (known as Stalinabad from 1929 to 1961) was transformed into a modern capital city boasting the Tajik State University (1951) and the Tajik Academy of Sciences (1948). Such progress notwithstanding, Tajikistan remained the poorest republic of the Soviet Union.

The disintegration of the Soviet Union in 1991 led to Tajikistan’s the somewhat reluctant declaration of full independence on September Sept. 9, 1991. Afterward, political chaos and endemic turmoil—occasionally degenerating Once independence was achieved, turmoil—degenerating into civil war—plagued the new nationcountry; communists fought to retain power in the face of opposition from an alliance of Islamic and democratic forces. The presidential election of November 1991 was won by Tajikistan’s former communist strongman Rahman Nabiyev. In , and in March 1992 massive nonviolent protests demonstrations protesting his dismissal of opposition elements began in Dushanbe. After government forces opened fire on the demonstrators in April, violence soon spread to the southern city of Kŭlob and elsewhere. Opposition forces drove Nabiyev from office in August September and briefly took power, but by November a government led by Imomali Rakhmonov had regained control, (from March 2007, Emomalii Rakhmon) and backed by Russian troops had regained control, ending the first phase of the civil war. A mass exodus to Afghanistan followed. Sporadic fighting continued as the Islamic fundamentalist forces and their allies, now based in Afghanistan, continued to launch attacks on the Russian and Tajik troops guarding the border. By the mid-1990s the fighting had left tens of thousands dead and had displaced more than a half million people. In 1994 government and rebel elements reached a tenuous cease-fire, and Rakhmonov was subsequently elected president, and, under his authoritarian leadership, the conflict laboured on until an accord was reached in 1997. The peace process was not painless, however. In the main, . Sporadic fighting continued until June 1997, when a peace agreement brokered by the United Nations, Russia, and Iran essentially ended the war and produced some order in the strife that had characterized much of Tajik life since the country’s independence. The endemic political unrest had a deleterious effect on the country’s economy, which was dependent in large part on foreign aid.

Following the agreement rebels began to reenter political and social life, though small groups of dissenters continued to engage in attacks on government targets, and Rakhmonov was elected to another term in office in 1999 with the support of some of his former adversaries. The flow of militants from Afghanistan slowed after the overthrow of the Taliban in late 2001, but smaller numbers of determined Islamic extremists continued to sift across the border, disrupting life and commerce in Tajikistan and other Central Asian states. Moreover, the fall of the Taliban led to an upswing in narcotics production in Afghanistan, and Tajikistan soon became a major transit point for Afghan heroin and opium headed for markets in Europe and elsewhere.