Rep. John Boehner of Ohio has been re-elected House speaker.