He arrived after a rocky visit in Washington , where President Bush used a White House dinner to try to mediate between the Pakistani leader and President Hamid Karzai of Afghanistan over their mutual accusations of responsibility for the resurgence of the Taliban , Afghanistan 's former rulers .