qnli question: Between majority leader and speaker what roles did Boehner have? sentence: He subsequently served as Republican House leader and Minority Leader from 2007 to 2011 and then was elected Speaker when the House reconvened in 2011.