The speaker emerita, a Democratic member of Congress since 1987, was the first woman to hold the role of speaker of the House.