The province covered an area of 70,709 km², including much of the current Khyber Pakhtunkhwa but excluding the princely states of Amb, Chitral, Dir, Phulra and Swat. The capital was the city of Peshawar and the province was composed of three divisions (Peshawar, Dera Ismail Khan and Malakand). Until 1947 the province was bordered by five princely states to the north, the minor states of the Gilgit Agency to the northeast, the province of West Punjab to the east, and the province of Balochistan to the south. Afghanistan lay to the northwest, with the tribal agencies forming a buffer zone.