How long had Nancy Pelosi served as chairman of the Democratic Caucus