dir was a small muslim princely state in a subsidiary alliance with british india within the northwest frontier province until august 1947 when the british left the subcontinent. for some months it was unaligned, until february 1948, when its accession to the new dominion of pakistan was accepted.