Aide details Mohammed Morsi ousting
New details have emerged of how troops went to Mohammed Morsi's office in July, telling the Egyptian president he would not be allowed to leave.
Senior aide Wael Haddara told the BBC the Republican Guard troops responsible for his security "respectfully requested" that Mr Morsi comply.
The Muslim Brotherhood leader was forced from office after mass protests.
The US had indicated Mr Morsi's ousting was inevitable, Mr Haddara said. "It's a fait accompli, live with it."
In the days leading up to the ousting of Mr Morsi, a revolving door of foreign diplomats had offered help and advice on how to handle the crisis, Mr Haddara told the BBC's Shaimaa Khalil.
Not all members of Mr Morsi's team were convinced that the military really intended to take over until the army issued a 48-hour ultimatum for the president to reach agreement with opposition groups, he said.
The president had been willing to make "maximalist sacrifices," his adviser added, but it became clear that this would not be enough.
Mr Haddara said that the Republican Guard officers had assured the president that "he would never be treated with any indignity or disrespect".
The former president was aware of the risks to his personal safety. In December 2012 he had a conversation with his adviser about the risk of an assassination attempt.
Mr Morsi felt there would be such an attempt - and that he might even be "taken out".
The president's subsequent arrest and trial by what Mr Haddara described as a "kangaroo court" have shown that this was not an outlandish proposition.
Presumably the military would be prepared to hang Mr Morsi, and this would be "assassination by another name," he said.