The four candidates with the most votes in the first round advanced to the second round of elections.[48] The top two candidates in the second round advanced to the third round of elections.[49] After 3 rounds, involving 36 candidates, parliamentary officials counted more than 165 votes in favour of Hassan Sheikh Mohamud, more than the number required to defeat incumbent President Mohamed Abdullahi Mohamed.