Dynasties, especially from the time of the Ghaznavids of Ghazni, and nomad people from modern-day Afghanistan have been migrating to the South Asia (modern-day Pakistan and India) for centuries. Kaye's The Afghan War, Friedrich Engels describes "Afghanistan" as: [...] an extensive country of Asia [...] between Persia and the Indies, and in the other direction between the Hindu Kush and the Indian Ocean.Before the mid-19th century, parts of Afghanistan and present-day Pakistan were part of the Durrani Empire and ruled by a successive line of Pashtun kings who had their capitals in the Afghan cities of Kandahar and Kabul. It formerly included the Persian provinces of Khorassan and Kohistan, together with Herat, Beluchistan, Cashmere, and Sinde, and a considerable part of the Punjab [...] Its principal cities are Kabul, the capital, Ghuznee, Peshawer, and Kandahar.When Pakistan inherited this single-page agreement in 1947, which was basically to end political interference beyond the frontier line between Afghanistan and what was then the British Indian Empire, As a result of political unrest, mass arrests and executions, and other human rights violations, as well as the civil war, around 3 million Afghan refugees escaped to Pakistan and about 2 million to Iran (see Afghans in Iran).
As of December 2012, approximately 1.7 million Afghan nationals were reported to be living in Pakistan's Khyber Pakhtunkhwa, Federally Administered Tribal Areas (FATA) and northwestern Balochistan.
They are under the protection and care of the United Nations High Commissioner for Refugees (UNHCR) and have been provided legal status by the Government of Pakistan to remain in the country indefinitely.
Located on the outskirts of Peshawar, the now-closed Jalozai camp was one of the largest refugee camps in NWFP.
as well as Afghan diplomats, traders, businesspersons, workers, exchange students, tourists and other visitors.
The first wave of Afghan migration into Pakistan began during the Soviet war in Afghanistan in the 1980s.
In late 1988, approximately 3.3 million Afghan refugees were housed in 340 refugee camps along the Afghan-Pakistan border in what is now called Khyber Pakhtunkhwa (KP), Pakistan.
It was reported by The New York Times in November 1988 that about 100,000 of the refugees were living in the city of Peshawar while more than 2 million were staying in the whole of KP, which was referred to as NWFP at the time.
The overwhelming majority of Afghans in Pakistan are ethnic Pashtun tribes who are known to live and work on both sides of the Afghanistan–Pakistan border, but there are also many Tajiks, Hazaras, Uzbeks, The border between Afghanistan and Pakistan is called the Durand Line.
Nearly all Afghan refugee camps are located in Pakistan's Khyber Pakhtunkhwa and Balochistan as well as the Federally Administered Tribal Areas (FATA) (in blue).