The Latest on post-election protests in Indonesia (all times local):

1:30 p.m.

Indonesia’s top security minister says authorities will block access to social media in certain areas amid violent protests in the capital Jakarta by supporters of the losing presidential candidate.

A protester shouts slogans as he is seen through the shield of a riot police officer in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
A protester shouts slogans as he is seen through the shield of a riot police officer in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)

Wiranto, who uses a single name, didn’t specify which areas would be subject to the restrictions in the televised news conference.

Supporters of Prabowo Subianto, who was defeated by President Joko Widodo in the April 17 election, clashed with security forces in Jakarta on Wednesday, burning vehicles and throwing rocks at police, who responded with tear gas and rubber bullets.

Police have said the rioting was planned rather than a spontaneous outburst. The official election results were announced on Tuesday and Subianto, a former general, has refused to concede defeat, instead declaring himself the winner and planning a court challenge.

Riot police officers take their position outside the building that house the Election Supervision Board in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Riot police officers take their position outside the building that house the Election Supervision Board in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)

___

7 a.m.

Supporters of an unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory in the Indonesian capital after the release of official election results.

Protesters burn tires on a street during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters burn tires on a street during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)

National Police spokesman Dedi Prasetyo said protests turned violent late Tuesday and continued during the night. He said Wednesday that dozens of people were detained.

KompasTV showed protesters throwing rocks, a paramilitary police dormitory on fire, and hundreds of riot police in a central neighborhood of the city.

Indonesia’s Election Commission on Tuesday said President Joko Widodo had won a second term with 55.5% of the vote in the April 17 election. His opponent, former general Prabowo Subianto, has refused to accept the results and declared himself the winner.

Protesters raise their fists as they taunt officers during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters raise their fists as they taunt officers during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters burn tires on a street during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters burn tires on a street during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters walk past burning garbage during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Protesters walk past burning garbage during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of an unsuccessful presidential candidate clashed with security forces in the Indonesian capital on Wednesday, burning vehicles and throwing rocks at police using tear gas and rubber bullets. (AP Photo/Dita Alangkara)
Indonesian police walk near fire from a molotov cocktail during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police walk near fire from a molotov cocktail during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto carry an injured man during a clash with Indonesian police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto carry an injured man during a clash with Indonesian police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
A supporter of Indonesian presidential candidate Prabowo Subianto runs from smoke of tear gas fired by police officers in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
A supporter of Indonesian presidential candidate Prabowo Subianto runs from smoke of tear gas fired by police officers in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
An Indonesian riot police officer fires a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, early Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
An Indonesian riot police officer fires a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, early Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
Indonesian riot police officers fire a tear gas launcher to disperse supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
Supporters of Indonesian presidential candidate Prabowo Subianto clash with the police in Jakarta, Indonesia, early Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
Supporters of Indonesian presidential candidate Prabowo Subianto clash with the police in Jakarta, Indonesia, early Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
A Grab bike driver rides carries an injured supporter of Indonesian presidential candidate Prabowo Subianto during a clash with Indonesian police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
A Grab bike driver rides carries an injured supporter of Indonesian presidential candidate Prabowo Subianto during a clash with Indonesian police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto run from smoke of tear gas fired by police officers in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto run from smoke of tear gas fired by police officers in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Indonesian police take position during a clash with supporters of Indonesian presidential candidate Prabowo Subianto in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results. (AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto run during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results.(AP Photo/Achmad Ibrahim)
Supporters of Indonesian presidential candidate Prabowo Subianto run during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results.(AP Photo/Achmad Ibrahim)
A supporter of Indonesian presidential candidate Prabowo Subianto runs during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results.(AP Photo/Achmad Ibrahim)
A supporter of Indonesian presidential candidate Prabowo Subianto runs during a clash with the police in Jakarta, Indonesia, Wednesday, May 22, 2019. Supporters of the unsuccessful presidential candidate clashed with security forces and set fire to a police dormitory and vehicles in the Indonesian capital on Wednesday after the release of official election results.(AP Photo/Achmad Ibrahim)