David Cameron has ordered an urgent investigation into possible British involvement in a deadly raid on a temple in India.
Previously secret documents indicate an SAS officer helped the Indian authorities draw up plans to remove dissident Sikhs from the Golden Temple in Amritsar in 1984.
The Prime Minister has asked Cabinet Secretary Sir Jeremy Heywood to look into the case and report back to him, with the Government acknowledging the papers raise "legitimate concerns".
Hundreds died in the raid by the Indian army on the temple in June 1984, and in October that year the country's prime minister, Indira Gandhi, was assassinated by two Sikh bodyguards in an apparent act of revenge.
The papers, released under the 30-year rule and published on the Stop Deportations blog, indicate that then prime minister Margaret Thatcher was aware of the involvement of an SAS officer in drawing up a plan - although it is not clear whether the Indian army operation followed this advice.
The request for British advice is disclosed in a letter, dated February 23 1984, from Brian Fall, private secretary to then foreign secretary Geoffrey Howe, to Hugh Taylor, his counterpart under home secretary Leon Brittan.
The letter said: "The Indian authorities recently sought British advice over a plan to remove Sikh extremists from the Golden Temple in Amritsar. The Foreign Secretary decided to respond favourably to the Indian request and, with the Prime Minister's agreement, an SAD (sic) officer has visited India and drawn up a plan which has been approved by Mrs Gandhi. The Foreign Secretary believes that the Indian Government may put the plan into operation shortly."
In an indication of the sensitivity of the matter for community relations in the UK, the letter continued: "An operation by the Indian authorities at the Golden Temple could, in the first instance, exacerbate the communal violence in the Punjab.
"It might also, therefore increase tension in the Indian community here, particularly if knowledge of the SAS involvement were to become public. We have impressed upon the Indians the need for security; and knowledge of the SAS officer's visit and of his plan has been tightly held both in India and in London. The Foreign Secretary would be grateful if the contents of this letter could be strictly limited to those who need to consider the possible domestic implications."
Mr Cameron and Foreign Secretary William Hague were not aware of the British link to the Amritsar massacre until the files were published.
A Government spokesman said: " These events led to a tragic loss of life and we understand the very legitimate concerns that these papers will raise.
"The Prime Minister has asked the Cabinet Secretary to look into this case urgently and establish the facts. The PM and the Foreign Secretary were unaware of these papers prior to publication.
"Any requests today for advice from foreign governments are always evaluated carefully with full ministerial oversight and appropriate legal advice."
Downing Street said the inquiry would look at whether the documents should have been released to the public.
The Prime Minister's official spokesman said: "The Cabinet Secretary has been asked by the Prime Minister to look into what may have happened in 1984 with regard to papers that have been recently released.
"I think the important thing is to establish all the facts as quickly as possible, that work is under way, but in terms of timetable it is important it's done as quickly as possible.
"The reason behind it is that issues have been raised about decisions to release papers and also to consider whether there are... about the facts that are contained within the papers, so there are two aspects to it."
Asked if that meant looking at whether it was correct to release papers on such a sensitive matter, he replied: "It's to look at what issues there may have been around the decisions taken to release."