Musharraf was seen in Washington as a bulwark against Al-Qaeda and the Taliban , but northwestern Pakistan has seen the worst of a wave of violence blamed on Al-Qaeda and Taliban rebels that has swept the country in recent months , worrying the president 's Western allies .