General Musharraf , who seized power in a bloodless coup in 1999 , has angered the religious right by going back on a pledge he made to win its support for constitutional amendments that gave him sweeping powers .