At home, the Queen sought to maintain the dignity of the monarchy while public debate continued on whether the institution had any future.
Death of Diana, Princess of Wales
Image source, PAImage caption,
The Queen faced criticism after the death of Diana, Princess of Wales
As Britain struggled to find a new destiny, she tried to remain a reassuring figure, and with a sudden smile could lighten a solemn moment. The role she valued above all was that of symbol of the nation.
However, the monarchy was shaken and the Queen herself attracted unusual criticism after the death of Diana, Princess of Wales, in a car accident in Paris in August 1997.
As the public crowded around the palaces in London with tributes of flowers, the Queen seemed reluctant to provide the focus that she had always tried to do during great national moments.
Many of her critics failed to understand that she was from a generation that recoiled from the almost hysterical displays of public mourning that typified the aftermath of the princess's death.
She also felt as a caring grandmother that she needed to comfort Diana's sons in the privacy of the family circle.
Eventually, she made a live broadcast, paying tribute to her daughter-in-law and making a commitment that the monarchy would adapt.
Losses and celebrations
The deaths of the Queen Mother and Princess Margaret, in the Queen's Golden Jubilee year, 2002, cast a shadow over nationwide celebrations of her reign.
But despite this, and the recurring debate over the future of the monarchy, a million people crowded into The Mall, in front of Buckingham Palace, on the evening of the jubilee.
Image source, Getty ImagesImage caption,
The wedding of Prince William to Catherine Middleton was a happy occasion
In April 2006, thousands of well-wishers lined the streets of Windsor as the Queen performed an informal walkabout on her 80th birthday.
And in November 2007, she and Prince Philip celebrated 60 years of marriage with a service attended by 2,000 people at Westminster Abbey.
There was yet another happy occasion in April 2011 when the Queen attended the wedding of her grandson, William, Duke of Cambridge, to Catherine Middleton.
In May that year she became the first British monarch to make an official visit to the Irish Republic, an event of great historical significance.
In a speech, which she began in Irish, she called for forbearance and conciliation and referred to "things we wish had been done differently or not at all".
Referendum
A year later, on a visit to Northern Ireland as part of the Diamond Jubilee celebrations, she shook hands with the former IRA commander Martin McGuinness.
It was a poignant moment for a monarch whose much-loved cousin, Lord Louis Mountbatten, had been killed by an IRA bomb in 1979.
Image source, PAImage caption,
Her handshake with Martin McGuinness was a landmark moment
The Diamond Jubilee brought hundreds of thousands of people on to the streets and culminated in a weekend of celebrations in London.
The referendum on Scottish independence, in September 2014, was a testing time for the Queen. Few had forgotten her speech to Parliament in 1977 in which she made clear her commitment to a United Kingdom.
"I number kings and queens of England and of Scotland, and princes of Wales among my ancestors and so I can readily understand these aspirations. But I cannot forget that I was crowned Queen of the United Kingdom of Great Britain and Northern Ireland."
In a remark to well-wishers at Balmoral on the eve of the Scottish referendum, which was overheard, she said she hoped people would think very carefully about the future.
Once the result of the vote was known, her public statement underlined the relief she felt that the Union was still intact, although recognising that the political landscape had changed.
"Now, as we move forward, we should remember that despite the range of views that have been expressed, we have in common an enduring love of Scotland, which is one of the things that helps to unite us all."
Image source, Getty ImagesImage caption,
In later years the Queen withdrew from much of public life though she appeared on the balcony at Buckingham Palace for her Platinum Jubilee in 2022
On 9 September 2015 she became the longest reigning monarch in British history, surpassing the reign of her great-great-grandmother Queen Victoria. In typical style she refused to make any fuss saying the title was "not one to which I have ever aspired".
Less than a year later, in April 2016, she celebrated her 90th birthday.
She continued with her public duties, often alone after the retirement of the Duke of Edinburgh in 2017.
There were continued strains on the family - including her husband's car accident, the Duke of York's ill-judged friendship with convicted American businessman Jeffrey Epstein and Prince Harry's growing disillusionment with life in the royal family.
These were unsettling moments, presided over by a monarch who demonstrated that she was still firmly in control. There was also the death of Prince Philip in April 2021, in the midst of the coronavirus pandemic, and her Platinum Jubilee a year later.
Although the monarchy might not have been as strong at the end of the Queen's reign as it was at the start, she was determined that it should continue to command a place of affection and respect in the hearts of the British people.
On the occasion of her Silver Jubilee, she recalled the pledge she had made on a visit to South Africa 30 years before.
"When I was 21, I pledged my life to the service of our people and I asked for God's help to make good that vow. Although that vow was made in my salad days, when I was green in judgement, I do not regret, or retract, one word of it."
Related Internet Links
The BBC is not responsible for the content of external sites.
BBC News Services