The Indonesian election commission on Wednesday declared Prabowo Subianto as the country's eighth president, local media reported.