Details of Thatcher's funeral had been agreed with her in advance. She received a ceremonial funeral, including full military honours, with a church service at St Paul's Cathedral on 17 April. Queen Elizabeth II and the Duke of Edinburgh attended her funeral, marking only the second time in the Queen's reign that she attended the funeral of any of her former prime ministers.