Whoever wins the presidential election will be tasked with restoring security to the country.