You are not permitted to download, save or email this image. Visit image gallery to purchase the image.
Ashraf Islam, 31, was told by the judge who sentenced him at Isleworth Crown Court that his plan had been "vague and unlikely to succeed", but he nevertheless posed a danger to the public, according to reports in British media.
Police said Islam, who was born Mark David Townley and changed his name around 2010 after converting to Islam, had entered a police station in west London on May 23, 2013, and said he intended to kill Prince Harry the following day.
Police searched the hotel room, where he had just checked in after flying into London from Thailand, and seized his laptop. They found no weapon. Islam, originally from Belfast in Northern Ireland, had no fixed abode at the time.
Media reported that Islam had said he felt he had a "moral right to judge" Prince Harry, a captain in the British army, because he disagreed with the actions of the military.
Prince Harry, grandson to Queen Elizabeth and fourth in line to the throne, has carried out two tours of duty in Afghanistan, the most recent as an attack helicopter pilot.
Islam's defence lawyer told the court he had a personality disorder, according to media reports.
Islam made the threat on the day after soldier Lee Rigby was murdered in broad daylight by two British Muslim converts on a busy street in southeast London close to an army barracks.
News of the killing and its aftermath dominated British media headlines for days. The killers, Michael Adebolajo and Michael Adebowale, were convicted of murder on Dec. 19 and will be sentenced on Feb. 20.