Afghanistan is a landlocked mountainous country located within South Asia and Central Asia. The country is the 40th largest in the world in size. Kabul is the capital and largest city of Afghanistan, located in the Kabul Province. Strategically located at the crossroads of major trade routes, Afghanistan has attracted a succession of invaders since the sixth century BCE.
The Hindu Kush mountains, running northeast to southwest across the country, divide it into three major regions: 1) the Central Highlands, which form part of the Himalayas and account for roughly two thirds of the country's area; 2) the Southwestern Plateau, which accounts for one-fourth of the land; and 3) the smaller Northern Plains area, which contains the country's most fertile soil.
Land elevations generally slope from northeast to southwest, following the general shape of the Hindu Kush massif, from its highest point in the Pamir Mountains near the Chinese border to the lower elevations near the border with Iran. To the north, west, and southwest there are no mountain barriers to neighboring countries. The northern plains pass almost imperceptibly into the plains of Turkmenistan. In the west and southwest, the plateaus and deserts merge into those of Iran. Afghanistan is located on the Eurasian Tectonic Plate. The Wakhan Corridor and the rest of northeastern Afghanistan, including Kabul, are situated in a geologically active area. Over a dozen earthquakes occurred there during the twentieth century.
The greater part of the northern border and a small section of the border with Pakistan are marked by rivers; the remaining boundary lines are political rather than natural. The northern frontier extends approximately 1,689 km (1,049 mi) southwestward, from the Pamir Mountains in the northeast to a region of hills and deserts in the west, at the border with Iran. The border with Iran runs generally southward from the Hari River across swamp and desert regions before reaching the northwestern tip of Pakistan. Its southern section crosses the Helmand River.