Veteran Iraqi politician Fuad Masum was almost guaranteed to become Iraq's next president after the main Kurdish blocs in parliament agreed on his candidacy Thursday.