In the nineteenth century after the Anglo-Indian wars most of the part of Afghanistan went under the rule of the British. Following the accession of King Amanullah Khan to the throne in 1919 Afghanistan attained it's full independence.
History of modern Afghanistan consisting of people politics started from the year 1978. In 1978 the communist People's Democratic Party of Afghanistan took over the control of Afghanistan. During this time Soviet Union signed a Treaty of Friendship with the ruling extremist party of Afghanistan and supported their government with arms and ammunition. The control of the regime in Afghanistan depended on the Soviets .Gradually the regime's army collapsed. Relations between the Afghanistan and the USSR became strained by October,1979 over Hafizullah Amin's refusal to take advice form the Soviets on how to take care of the falling government.
On 24 th December,1979 Soviets invaded Afghanistan killing Hafizullah Amin. In the meantime as a part of the Cold war strategy the USA government undertook the heinous strategy to secretly employ the Pakistan secret agency (ISI) to train anti government Mujahideen forces from among the disgruntled Muslims of Afghanistan who were against the communist regime of their invaders. As a result the Soviets could not establish their authority over there due to the resistance of these Afghan freedom fighters, Mujahideen or trained terrorists. USA's strategy reaped success as the Soviets were forced to withdrew in 1989.
Taliban Afghanistan history started following the withdrawal of Soviet troops . The country was torn apart with fights among the different Mujahideen factions. This breakdown of government machinery and frequent bloodbaths led to the rising of the Talibans. They were politico-religious forces who captured Kabul in 1996 and by 2000 whole of Afghanistan went under their control. After the 11 th September,2001 attack the USA attacked Afghanistan to erase the Al-Qaeda terrorist network operational in Afghanistan and oust the Taliban Government. Then in the 2004 elections, held for the first time in the political history of Afghanistan , President Hamid Karzai was elected as the president of Islamic Republic of Afghanistan.