The U.S. House of Representatives elected Republican Mike Johnson, a conservative with little leadership experience, as speaker on Wednesday, ending a turbulent three weeks that left the rudderless chamber unable to carry out any of its basic duties.