She is a member of the United States House of Representatives and was Speaker of the House from 2007 to 2011 . Pelosi served as the 60th Speaker of the United States House of Representatives from January 4 , 2007 to January 3 , 2011 .