The Islamic Prosperous Justice Party (PKS) and the Democratic Party (PD) finished first and second, respectively, in Jakarta, where voting patterns were considered a "barometer of Indonesian politics".