The Iraqi parliament elected Ayad al-Samarrai, a Sunni Arab, as a new speaker to replace the former speaker Mahmoud al-Mashhadani who resigned in December last year, Xinhua reported.