The Indonesian President has cancelled his trip to Australia following a large-scale protest that turned violent in Jakarta.
President Joko Widodo was scheduled to fly in to Australia today, marking his first state visit.
But last night police vehicles were set on fire and tear gas was fired at protesters in Jakarta after an otherwise peaceful protest spiralled into violence.
It was with the "deepest regret" that the president - commonly referred to as Jokowi - said he would need to postpone the trip.
"Current development has required the president to stay in Indonesia," the Indonesian Foreign Ministry said in a statement today.
"President Jokowi has called PM Turnbull to convey the postponement of this visit."
The president has asked the Indonesian Foreign Minister Retno Marsudi to speak with her Australian counterpart Julie Bishop about rescheduling.
"The relations between Indonesia and Australia is in its best shape.
"It is the mutual commitment of both countries to further strengthen this important relationship."
Prime Minister Malcolm Turnbull said President Widodo had called him to express regret that the visit would have to be rescheduled, with the security situation requiring his personal attention.
"I said we were sorry we would not be able to welcome him to Australia tomorrow but entirely understood the need for him to remain in Indonesia at this time," Mr Turnbull said.
"President Widodo thanked me for Australia's understanding and noted his desire to conduct the visit as soon as mutually convenient dates can be identified."
"We both expressed disappointment that the visit would not go ahead, particularly given the strength of the bilateral relationship and our personal friendship."
President Widodo was set to arrive in Sydney tomorrow (AEDT) before addressing federal parliament in Canberra on Monday.
Estimates of up to 150,000 people marched through Jakarta yesterday, shutting down major streets as they demanded the immediate jailing of the capital's governor over comments he made about the Koran.
While tensions flared throughout the day with pockets of protesters occasionally hurling sticks and water bottles at police, it was largely peaceful.
But violence broke out after night fell when the remaining demonstrators refused to disperse.
Police vehicles were set alight, rocks, sticks and bottles thrown and tear gas and a water canon were fired on the rioters.
One man reportedly died from an asthma attack while several others, including a number of police, were injured.
Jokowi criticised "political actors" for taking advantage of the protest.
Basuki Tjahaja Purnama, commonly referred to as Ahok, is the capital's straight-talking Christian governor who is ethnically Chinese Indonesian.
Tensions over his leadership were inflamed when he said in late September that his detractors were using a verse in the Koran to manipulate followers into not voting for him.
Ahok has apologised and insisted he meant no offence but he is now being investigated for blasphemy.
Ahok is in the midst of a three-way battle to run Jakarta with Agus Yudhoyono - the son of the former president Susilo Bambang Yudhoyono - and Jokowi's ex-education minister Anies Baswedan.
Indonesia was looking forward to using the Australian visit to push key areas of co-operation - including in investment, counter terrorism and trade.