In 1947, the state acceded to Pakistan, but continued as semi autonomous state. In 1968 Syed Yahya Shah the first educated politician of the valley, demanded civil rights from the Mir of Nagar. When Ayub Khan's dictatorship ended in Pakistan and the democratic government of the Pakistan Peoples Party under Zulfiqar Ali Bhutto came into power through elections it realized the sentiments of the people against the Mir for democracy so the Government freed the prisoners of the movement and dissolved the Mirs of Hunza and Nagar and were merged into the Northern Areas in 1974.