Dir is a region in northwestern Pakistan, in the Khyber Pakhtunkhwa. It is located in the foothills of the Himalayas. Before Pakistan was created, Dir was a princely state, and it remained so until 1969 when it was abolished by a presidential declaration, with the Dir District being created the following year. Dir District is 5,280 square kilometres in area and lay along the disputed border controlled by the Afghan nationalists. The region is situated between Chitral and Peshawar. In 1996 the district was split into Lower Dir and Upper Dir. It is bordered by Chitral to the northwest and north, Swat to the east, Malakand to the south, Bajaur Agency to the southwest, and Afghanistan to the west.