The Turkish Foreign Minister has said on Twitter that the prosecutor injured in a hostage standoff has died.
The prosecutor was critically injured and two of his captors were killed after security forces stormed the courthouse where a far-left group had taken the prosecutor hostage, Istanbul's police chief said.
Turkish President Tayyip Erdogan said Mehmet Selim Kiraz had been shot three times in the head and twice in the body. Kiraz was leading an investigation into the death last March of 15-year-old Berkin Elvan, who died after nine months in a coma from a head wound sustained in anti-government protests.
The leftist group DHKP-C said on its website it wanted the police officer it blames for Elvan's death to confess on television, the officers involved to be tried in "people's courts", and charges against those who attended protests for Elvan to be dropped.
Two members of a banned left-wing group who held a prosecutor hostage in his office inside a courthouse in Istanbul have been killed in a shootout with Turkish police.
Istanbul police chief Selami Altunok said the prosecutor was seriously wounded, and he has been taken to hospital.
Police had negotiated with the gunmen for six hours before the violent end to the hostage situation, Altunok said. It was not clear how the assailants sneaked the arms into the courthouse.
Police are negotiating with two assailants who took a top prosecutor hostage in an Istanbul courthouse today, the city's police chief has said.
Members of the far-left Revolutionary People's Liberation Party-Front (DHKP-C) earlier published a picture of the prosecutor with a gun to his head.
A far-left Turkish group have taken an Istanbul prosecutor hostage and threatened on its website to kill him.
The Revolutionary People's Liberation Party-Front (DHKP-C) published a picture of the prosecutor with a gun to his head, prompting special forces officers to enter the courthouse as people inside the building were evacuated.
The prosecutor is leading an investigation into the death last year of a teenager, Berkin Elvan, wounded during anti-government protests in June 2013.
Television footage showed special forces officers entering the building.
More: Police crackdown in Turkey (16 June, 2013)
CCTV footage shows three British teenagers suspected of planning to join Islamic State (IS) militants in Syria, being arrested at Istanbul airport.
The three teens were arrested on suspicion of preparation of terrorist acts after being detained in Turkey and have since been bailed.
The suspects - two 17-year-old boys and one 19-year-old man, all from northwest London - were arrested on Saturday by officers from the Metropolitan Police's Counter Terrorism Command.
CCTV footage has been released which appears to show three British schoolgirls, who it is feared have entered Syria to join Islamic State.
The images were released by Turkish news channel A Haber.
The three girls, believed to be Shamima Begum, 15, Kadiza Sultana, 16, and 15-year-old Amira Abase, are seen at a bus station in Istanbul in the video.
They can be seen leaving a part of the station in the early hours of the next morning along with other passengers and walking along snow-covered pavements into a busy departure lounge.
In the footage, the girls are shown wrapped up in heavy winter jackets, two with furry hoods pulled up, and carrying packed sports bags and holdalls.
Merve Büyüksaraç, Miss Turkey in 2006, faces two years in jail after she shared a post on Instagram that allegedly 'insulted' the presidentRead the full story ›
Turkey has criticised British authorities for taking three days to alert the country over the three teenage schoolgirls believed to be on the way to Syria via Istanbul.
Shamima Begum, 15, Kadiza Sultana, 16, and 15-year-old Amira Abase are still missing after they boarded a flight from Gatwick Airport to Istanbul last Tuesday - feared to be intending to join the so-called Islamic State (IS).
Turkish deputy prime minister Bulent Arinc said that British officials would be to blame if the girls cannot be found.
He said: "It is a condemnable act for Britain to let three girls come to Istanbul and then let us know three days later. They haven't taken the necessary measures.
"The search is ongoing. It would be great if we can find them. But if we can't, it is not us who will be responsible, but the British."