About 193 million Indonesians are eligible to vote in a presidential election that will decide who leads a nation that’s an outpost of democracy in a neighborhood of authoritarian governments.

Their choice Wednesday is between five more years of the steady progress achieved under Indonesia’s first president from outside the Jakarta elite or electing a charismatic but volatile figure from the era of the Suharto military dictatorship that ended two decades ago.

In the final moves of the campaign, the front-runner, President Joko Widodo, dashed to Saudi Arabia to meet its king and perform a minor pilgrimage.

Police officers and soldiers escort electoral workers using horses to distribute ballot boxes and other election paraphernalia to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
Police officers and soldiers escort electoral workers using horses to distribute ballot boxes and other election paraphernalia to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)

The message intended by Widodo’s trip to the birthplace of Islam was obvious after a campaign in which conservative opponents tried to discredit him as insufficiently Islamic.

FILE - In this Sept. 23, 2018, file photo, Indonesian President Joko Widodo, left, and his contender in the upcoming election Prabowo Subianto share a light moment during a ceremony marking the kick-off of the campaign period for next year's election in Jakarta, Indonesia. (AP Photo/Tatan Syuflana, File)
FILE – In this Sept. 23, 2018, file photo, Indonesian President Joko Widodo, left, and his contender in the upcoming election Prabowo Subianto share a light moment during a ceremony marking the kick-off of the campaign period for next year’s election in Jakarta, Indonesia. (AP Photo/Tatan Syuflana, File)
Workers prepare ballot boxes to be distributed to polling stations in Jakarta, Indonesia, Monday, April 15, 2019. (Achmad Ibrahim)
Workers prepare ballot boxes to be distributed to polling stations in Jakarta, Indonesia, Monday, April 15, 2019. (Achmad Ibrahim)
Workers prepare ballot boxes to be distributed to polling stations in Jakarta, Indonesia, Monday, April 15, 2019. (AP Photo/Achmad Ibrahim)
Workers prepare ballot boxes to be distributed to polling stations in Jakarta, Indonesia, Monday, April 15, 2019. (AP Photo/Achmad Ibrahim)
In this Sept. 21, 2018, photo, Indonesian presidential candidates, Prabowo Subianto, seated left, and Joko Widodo, second from left, share a light moment with their running mates Sandiaga Uno, top, and Ma'ruf Amin, right, during a draw for the ballot number that will represent them in the upcoming presidential election at the General Election Commission office in Jakarta, Indonesia. (AP Photo/Achmad Ibrahim, File)
In this Sept. 21, 2018, photo, Indonesian presidential candidates, Prabowo Subianto, seated left, and Joko Widodo, second from left, share a light moment with their running mates Sandiaga Uno, top, and Ma’ruf Amin, right, during a draw for the ballot number that will represent them in the upcoming presidential election at the General Election Commission office in Jakarta, Indonesia. (AP Photo/Achmad Ibrahim, File)
Police officers and soldiers assist a worker to carry ballot boxes and other election paraphernalia as they use horses to distribute them to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
Police officers and soldiers assist a worker to carry ballot boxes and other election paraphernalia as they use horses to distribute them to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
Workers load ballot boxes and other election paraphernalia onto a horse as they prepare to distribute them to polling stations in neighboring remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
Workers load ballot boxes and other election paraphernalia onto a horse as they prepare to distribute them to polling stations in neighboring remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
A police officer and a soldier assist a worker as they use horses to distribute ballot boxes and other election paraphernalia to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)
A police officer and a soldier assist a worker as they use horses to distribute ballot boxes and other election paraphernalia to polling stations in remote villages in Tempurejo, East Java, Indonesia, Monday, April 15, 2019. (AP Photo/Trisnadi)