Harry withdrawn from Afghanistan
British media agreed not to report the prince's deployment
Prince Harry is to be withdrawn from Afghanistan after news broke of him serving there on the front line.
The 23-year-old royal, who has spent the last 10 weeks serving in Helmand Province, is to be flown back to the UK amid concerns for his safety.
The move follows the collapse of a news blackout deal, after foreign media leaked the story.
There had been fears the prince, who is third in line to the throne, could become a target for the Taleban.
'Courage'
Chief of the Defence Staff, Air Chief Marshal Sir Jock Stirrup, had been considering whether Harry should remain in the country after discussions with the head of the Army, General Sir Richard Dannatt.
No details are available on when the prince is due to arrive back in Britain.
Brigadier Patrick Marriott, a spokesman for the Army, earlier said the possibility that details of Prince Harry's deployment would be made public had always been in the minds of senior army figures.
He has pursued his desire to get on the front line and serve his country with huge determination and courage
David Cameron
Conservative leader
"I think it's important that, throughout this whole process, risks have been managed incredibly well," he said.
"There's been an enormous amount of planning that's gone on into this, and the fact that this was going to break was always thought a possible outcome and so plans are there - and I think people can be reassured about that."
Sir Jock said the prince had been conducting himself "with professionalism" during his time out in Afghanistan.
"In serving his country with distinction in dangerous circumstances, he has shown the courage and determination that are the hallmarks of everyone in our armed forces, many of whom are operating under very challenging circumstances," Sir Jock said.
'Incredibly brave'
A member of the Household Cavalry, Prince Harry was based in a former madrassa along with a Gurkha regiment.
Work involved calling up allied air cover in support of ground forces and going out on foot patrols.
Conservative leader David Cameron said Prince Harry had been "incredibly brave".
"He has pursued his desire to get on the front line and serve his country with huge determination and courage. I applaud the British press for not breaking the story and risking his life and others around him."
THE EDITORS' BLOG
A news black-out is unusual, but not unique
Jon Williams,
World news editor, BBC News
Jon's comments in full
The prince's deployment was subject to a news blackout deal struck between the MoD and newspapers and broadcasters in the UK and abroad.
It is understood that the news was first leaked in an Australian publication in January but only after it appeared on the influential US website, The Drudge Report, did the deal break down.
In exchange for not reporting the prince's deployment, some media organisations were granted access to the prince in Afghanistan for interviews and filming.
The head of the Army, General Sir Richard Dannatt praised the UK media's "highly responsible attitude", but said he was disappointed that foreign websites had decided to run the story.
The prince's withdrawal is the second major blow to his army career.
Last year, a planned tour to Iraq had to be cancelled at the last minute because of a security risk.
.