The people of Tajikistan are probably descended from the inhabitants of ancient Sogdiana. By the 9th and 10th cent., the Tajiks had achieved much success in fruit growing, cattle raising, and the development of handicrafts and trade. The Tajik territory was conquered by the Mongols in the 13th cent. In the 16th cent., it became part of the khanate of Bukhara. By the mid-19th cent., the Tajiks were divided among several internally weak khanates.
Russia took control of the Tajik lands in the 1880s and 90s, but the Tajiks remained split among several administrative-political entities, and their territories were economically backward and were exploited for their raw materials. In the aftermath of the 1917 Russian Revolution, the Tajiks rebelled against Russian rule; the Red Army did not establish control over them until 1921. Tajikistan was made an autonomous republic within Uzbekistan in 1924; in 1929 it became a constituent republic of the USSR. In the 1930s canals and other irrigation projects vastly increased cultivated acreage as agriculture was more thoroughly collectivized; population also increased rapidly. Further expansion of irrigated agriculture occurred after World War II, especially in the late 1950s, as the area became increasingly important as a cotton producer. In 1978 there were anti-Russian riots in the republic.
In Dec., 1990, the Tajikistan parliament passed a resolution of sovereignty. The Republic of Tajikistan declared its independence in Sept., 1991, and in December it signed the treaty establishing the Commonwealth of Independent States. When the acting president sought to suspend the country's Communist party, the Communist-led parliament replaced him, and former Communist party chief Rakhmon Nabiyev was elected president in Nov., 1991. In 1992, Nabiyev was deposed by opposition militias.
An ethnically based civil war quickly erupted. Forces allied with the former Nabiyev government retook the capital and most of the country, and the parliament elected Russian-supported Emomali Rakhmonov president. Fighting between government troops, supported by the Russian army, and pro-Islamic forces, with bases and support in Afghanistan, persisted along the Afghan border despite a number of cease-fires. In the Nov., 1994, elections, which were boycotted by the Islamic opposition, Rakhmonov defeated another former Soviet leader to retain the presidency. In early 1996 there was a brief mutiny by Uzbek commanders, who seized towns in the south and west.
A peace accord was signed between the government and opposition forces in mid-1997, but some factions continued fighting. In a 1999 referendum, voters backed constitutional changes that would extend the president's term to seven years and allow the formation of Islamic political parties, and Rakhmonov was subesequently reelected. By the end of the 2000 a truce prevailed in most of Tajikistan. From 30,000 to 100,000 were estimated to have died in the fighting, and war and neglect had devastated much of the country's infrastructure, making the nation one of the poorest in the world. The government has continued to mount crackdowns against any Muslims that it regards as extremists, closing a number of mosques, contributing to simmering Islamist militancy.
Tajikistan remains dependent on support from Russia's military to preserve its tenuous stability and security, although Russian help patrolling the Afghan border ended in 2005, and Russian economic aid is also extremely important. A drought in W and central Asia in the late 1990s had particularly severe consequences in impoverished Tajikistan. The Feb., 2005, parliamentary elections resulted in a lopsided victory for the ruling People's Democratic party (PDP); the results were denounced by opposition parties, the usually progovernment Communist party, and European observers. The president's reelection in Nov., 2006, was boycotted by the main opposition parties and generally regarded as neither free nor fair. In Mar., 2006, President Rakhmonov called upon Tajiks to revive their national traditions and derussify their names; he changed his surname to Rakhmon.
Long-standing tensions with Uzbekistan over Tajikistan's construction of additional hydroelectric facilities, which could reduce the flow of water needed for irrigation in Uzbekistan, led Uzbekistan to withdraw from the Central Asian power grid in late 2009, preventing the importation of electricity into Tajikistan during the winter months. In further moves to isolate Tajikistan, Uzbekistan also has held up transit of goods via rail, increased tariffs on goods transported to Tajikistan, and interrupted natural gas as well as electricity supplies to Tajikistan.
In Feb., 2010, the PDP again won a lopsided victory in the parliamentary elections, and the balloting was again denounced for failing to meet democratic standards. An ambush in September of government forces in the Rasht valley in the east led to fighting in the region between government forces and militants that continued into 2011; in mid-2012 there was fighting around Khorugh between government forces and armed groups associated with several warlords. President Rakhmon was reelected in Nov., 2013; the only significant opposition candidate had been banned from running.