Freedom newspaper has published a photo of a police officer, believed to be the Indonesian police commander who was killed on Saturday, who was among several protesters shot dead on Thursday.
The AFP quoted police officer Haji Mohamad Aslam, 32, as saying he was shot by protesters after they attacked police stations and stormed a government building in Bandung province.
He was taken to a hospital in Bandang, in the central province of East Java, where he was later pronounced dead.
The photo was taken by AFP photographer Bali Ramdin.
Aslam said the protesters attacked police station in Bandeng province when they stormed the city of Suharto, which is on the island of Java.
“They had taken away my weapon.
They said they would shoot me, but I did not respond,” Aslam told AFP news agency.
“I had a firearm and I shot at them and one shot hit me.
The police officers were shot.
He added that he had fired several rounds into the crowd and was bleeding.
He said the police had been shot with rubber bullets and tear gas.
Jakarta Governor Hadi Awang, who is also the Indonesian president, said on Friday that the protesters had broken the law by attacking police stations.
“The rioters, the ones who are rioting, broke the law, broke rules of law and the rule of law,” he told reporters.
“There was a police station, they broke the rules of the law and it’s a crime to break the law.
The law is there and it is very clear that police stations must be kept secure.”
The AFP reported that the death of Aslam was a blow to the government, which had been hoping for a political victory on the issue of freedom of expression and press.
The crackdown has also sparked anger among protesters who accuse Jakarta of failing to protect them from the rioters.
Jakarta has been gripped by an increasingly tense standoff with the protesters in recent weeks.
It has blamed the unrest on an alleged plot by the US-based Muslim Brotherhood movement to topple the government.
But critics have claimed the government is failing to tackle what they describe as rampant corruption, a weak judiciary and an increasingly radicalized Muslim population.
Indonesian police have responded to the growing unrest by firing tear gas canisters into crowds and carrying out raids.
Police have also arrested more than 100 people in recent days, including at least 11 senior figures in the Muslim Brotherhood.