Nancy Pelosi, who was the first female House speaker, announced she will not seek a new leadership role when Republicans take control of the House.