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.
Answer in sentence: yes