Pelosi's term is up too. And 1/3 of the Senate. On paper next is president pro tempore of the Senate which would then be a democrat, but it's not clear that's constitutionally allowed (and has never been challenged because it's never come up). If that fell through next up is secretary of state Mike Pompeo.