JAKARTA, Indonesia — The police in Jakarta, Indonesia’s capital, have clashed with demonstrators as protests over the newly announced results of the April presidential election unraveled into violence.

The city’s governor, Anies Baswedan, a close ally of the defeated presidential candidate Prabowo Subianto, cited reports of deaths and said about 350 people had been injured in the violence on Tuesday night. Tito Karnavian, the chief of the Indonesian national police, also reported deaths, saying six people had been killed according to hospital officials.