Campaigns briefly touched on Islamic identity, but media attention focused on whose wife wears a headscarf - the president's and his running mate's do not, while some of his opponents' do - but stayed clear of sensitive faith issues. More attention has been paid to how the candidates will maintain stability.
Facing total collapse just a decade ago, Indonesia is now Southeast Asia's largest and one of its healthiest economies. Reforms and tight monetary policy have produced steady growth now at around 4 per cent. A peace deal ended decades of civil war in Aceh province.
But Indonesia has struggled to attract badly needed foreign investment, due to its weak legal system and concerns about corruption. The country where President Barack Obama spent four years as a schoolboy regularly tops the list of the most corrupt nations.
The Corruption Eradication Commission, seen as a key gauge of the president's success, has convicted scores of lawmakers and entrepreneurs, including the father-in-law of Dr Yudhoyono's son - a governor who received a four-and-a-half year prison term last month.
An immediate task for the next president, who will be inaugurated in October, will be determining the commission's future. The body has operated without its chief, Antasari Azhar, since he was detained on murder charges in May, and its mandate expires in December.
A proposal before the outgoing parliament, where the commission is widely disliked after convicting a dozen members of accepting bribes, will strip it of the independent prosecutorial powers that have made it effective.
With around 100 million Indonesians living on less than US$2 (S$2.90) a day, capturing the vote of the poor masses has been a top priority. Dr Yudhoyono's approval rating doubled to 50 per cent in February after his government spent $2 billion on cash handouts for low-income families and reduced fuel prices, a move Dr Marcus Mietzner of the Lowy Institute for Intentional Policy said in an analysis will likely propel him to victory.
Shortly after the measures, Dr Yudhoyono's incumbent Democratic Party tripled its seats in parliament, a boost that should help him press ahead with reforms.
Over the past five years, Dr Yudhoyono's coalition government has relied heavily on the support of conservative Islamic parties and faced accusations of caving into the demands of radicals. More than 150 Shariah, or Muslim-based, bylaws were passed in several districts and a new national anti-pornography bill bans 'erotic' images, poems and dancing.
But intolerance of religious minorities by fundamentalists poses a threat to Indonesia's stability, said Mr Sunny, the political analyst, referring to a decree issued by Dr Yudhoyono's Cabinet a year ago against the Ahmadiyah Islamic sect.
The government ordered its 200,000 Indonesian followers to halt 'activities that are not in accordance with interpretations of the religion of Islam.' Such political involvement in religion is 'very, very dangerous for the future. We have a problem and it has to be admitted,' said Mr Sunny.
'Many regional regulations went too far in governing religious issues,' Dr Yudhoyono conceded in a final televised debate on Thursday night that was watched by 80 million people. 'Hopefully there will be no more bylaws that run against the constitution.'
While Indonesia clearly has serious work ahead to strengthen its democracy, it can almost certainly count on five more years under Dr Yudhoyono to do it. -- AP