Iraq's fractious parliament elected a speaker Tuesday after two failed sittings, with Salim al-Juburi passing the winning threshold of 165 votes, according to a tally shown live on state television.