Original sentence: Many Afghans regarded the 19th century Anglo-Afghan border treaties as void and were trying to re-draw the borders with Pakistan or trying to help create an independent state (Pashtunistan) for the ethnic Pashtun people
Edited sentence: All this changed after the rise of the Taliban movement, which mainly consisted of Pakhtuns.In retaliation to continious Pashtun Afghan claims on Northwestern Pakistan, Pakistan's military intelligence provided support for the non-Pashtun populations of Afghanistan to re-unite with their ethnic groups who constitute a majority in nieghboring countries of Afghanistan which gained indepdence after the fall of the USSR.Many Pashtun Afghans regarded the 19th century Anglo-Afghan border treaties as void and were trying to re-draw the borders with Pakistan or trying to help create an independent state (Pashtunistan) for the ethnic Pashtun people.Seeing the Taliban as a tool to maintain stability, Pakistan's military then shifted it's support to the Pashtun-dominated Taliban; loosing the trust of the non-Pashtun majority which it traditionally supported right until the Soviet-Afghan war era