Journalist Jamal Khashoggi was killed in a fight in the Saudi consulate in Istanbul, the country's state TV reports, quoting an initial inquiry.

Deputy intelligence chief Ahmad al-Assiri and Saud al-Qahtani, senior aide to Crown Prince Mohammed Bin Salman, were sacked over the affair, it says.

US President Donald Trump said what had happened was "unacceptable" but added that Saudi Arabia was a "great ally".

This is the first time the kingdom has admitted Mr Khashoggi is dead.

The acknowledgement follows two weeks of denials that Saudi Arabia had any involvement in the disappearance of the prominent Saudi critic when he entered the consulate in Istanbul on 2 October to seek paperwork for his forthcoming marriage.

The Saudi kingdom had come under increased pressure to explain Mr Khashoggi's disappearance after Turkish officials said he had been deliberately killed inside the consulate, and his body dismembered.

On Friday, Turkish police widened their search from the consulate grounds to a nearby forest where unnamed officials believe his body may have been disposed of.

Observers are questioning whether Riyadh's Western allies will find the Saudis' account of a "botched rendition" convincing - and whether it will persuade them not to take punitive action against Saudi Arabia.

What is Saudi Arabia's version of events?
A statement from Saudi Arabia's public prosecutor says a fight broke out between Mr Khashoggi, who had fallen out of favour with the Saudi government, and people who met him in the consulate - ending with his death.

Investigations are still under way, it says, and 18 Saudi nationals have been arrested. The Saudi authorities have yet to give evidence to support this version of events.

Unnamed officials speaking to Reuters news agency and the New York Times say the Saudis did not know the whereabouts of the body after it was handed to a "local collaborator" to dispose of.

Who was sacked?
Saud al-Qahtani is a prominent member of the Saudi Royal Court and adviser to Prince Mohammed bin Salman.

Major-General Ahmed al-Assiri has acted as the top spokesman for the kingdom about the war in Yemen.

He spoke to the BBC in 2017 about the conflict, defending Saudi Arabia's actions.

King Salman has also reportedly ordered the formation of a ministerial committee, headed by Crown Prince Mohammed, to restructure the intelligence services.

Saudi Arabia says it acted on information provided by Turkish authorities as part of its inquiry, investigating a number of suspects.

How did Trump react?
President Trump said the arrests were an important "first step". He praised the kingdom for acting quickly, and while he said sanctions were an option against the country, he spoke of the possible effect such moves would have on the US economy.

Asked if he found Saudi Arabia's version of events credible, he replied, "I do."

He stressed the importance of Saudi Arabia as a counterbalance to Iran in the Middle East, and pushed back against the need for sanctions against the country in light of the new information, talking about the effect of such a move on the US economy.

He spoke of his visit to Saudi Arabia - his first trip abroad as president - and the $110bn (£84bn) arms deal he signed with the kingdom.

"I'd rather keep the million jobs [in the US] and find another solution," he said.

Earlier this week Mr Trump had said there would be "very severe" consequences if Saudi Arabia was proved to have killed the journalist.

The White House said in a separate statement the US was "deeply saddened" to hear confirmation of Mr Khashoggi's death.

Bob Corker, the top Republican on the Senate Foreign Relations Committee, said the Saudi explanation changed with each passing day and "we should not assume their latest story holds water".

The senior Democrat on the House Intelligence Committee, Adam Schiff, tweeted that if Mr Khashoggi had been "fighting with those sent to capture or kill him, it was for his life".

Meanwhile, Mr Khashoggi's fiancée, Hatice Cengiz, questioned in a tweet what had happened to his body, saying: "The heart grieves, the eye tears, and with your separation we are saddened, my dear Jamal."

Turkey has so far remained silent on the latest Saudi reports.

Why does Turkey say he was murdered?
Turkish officials believe Mr Khashoggi was killed by a team of Saudi agents inside the consulate, and his body then removed - and they say they have video and audio evidence to back this up.

Saudi Arabia has denied this, and initially insisted Mr Khashoggi had freely left the embassy.

Turkish newspapers with close links to the government have published gruesome details of the alleged audio, including what they describe as the sounds of screams and Mr Khashoggi being interrogated and tortured.

Turkish media said earlier this week they had identified a 15-member team of suspected Saudi agents who flew into and out of Istanbul on the day of the disappearance.

Jamal Khashoggi disappearance: The key events

2 October

03:28: A private jet carrying suspected Saudi agents arrives at Istanbul airport. A second joins it late afternoon
12:13: Several diplomatic vehicles are filmed arriving at the consulate, allegedly carrying some of the Saudi agents
13:14: Mr Khashoggi enters the building, where he is due to pick up paperwork ahead of his marriage
15:08: Vehicles leave the consulate and are filmed arriving at the nearby Saudi consul's residence
21:00: Both jets leave Turkey by 21:00

3 October

Turkish government announces Mr Khashoggi is missing, thought to be in the consulate

4 October

Saudi Arabia says he left the embassy

7 October

Turkish officials tell the BBC they believe Mr Khashoggi was killed at the consulate. This is later strongly denied by Saudi Arabia

13 October

Turkish officials tell BBC Arabic they have audio and video evidence of the killing. The existence of such tapes had previously been reported by local media

15 and 17-18 October

Forensic teams carry out searches of consulate

20 October

Saudi state TV reports an initial investigation shows Jamal Khashoggi died in the consulate
Two Saudi senior officials are dismissed and King Salman announces the formation of a ministerial committee to restructure the intelligence services