The Duke of Edinburgh has had a recurrence of the bladder infection that he suffered in the summer and has been admitted to hospital for investigation and treatment.

The Duke was taken to Aberdeen Royal Infirmary on Wednesday afternoon as a "precautionary measure" and is likely to remain there for a few days, Buckingham Palace said.

A spokesman said Philip travelled to the hospital, about 40 miles away from Balmoral where he was staying with the Queen, by road.

prince philip

The Duke was spotted at an Olympic boxing match earlier this month

The Duke went to Balmoral after attending a number of Olympics events, including granddaughter Zara Phillips' Olympic debut on 29 July.

The spokesman added: "He has been resident at the castle for a short while but whilst he has been there, he has also undertaken engagements on the Isle of Wight."

The scare comes two-and-a-half months after he spent five nights in hospital with a similar compaint following the Diamond Jubilee Pageant on the River Thames.

The 91-year-old royal underwent a successful procedure to clear a blocked coronary artery last December and was in hospital for four nights over Christmas.

Before the heart scare he had been fit and apparently healthy, and led the active life of a man of younger years.

In March this year his grandson Prince Harry said the operation had given him "a new spurt of life".

prince phiip

Prince Philip was also taken to hospital in June with a bladder infection

He was forced to miss some of the jubilee celebrations in June after he was admitted to hospital the day after braving the elements for the pageant.

Philip was at the Queen's side during the Opening Ceremony of the London Olympics on 27 July and the following when they toured the Olympic Park.

While in Scotland earlier this month he supported the Queen at engagements including hosting a tea party at Balmoral to mark the end of her Diamond Jubilee celebrations.

The hospital admission comes little more than a week after the Duke made a public appearance at a garden party in the north-east of Scotland.

Philip joined the Queen and the Earl and Countess of Wessex at the event on the Balmoral estate which was attended by around 3,000 guests.

The royals, including the Duke, reportedly looked relaxed during the event, which rounded off the Queen's Diamond Jubilee celebrations.

It was said to have been only the second time that the Queen's Deeside home, where the Royal family prize their privacy, was used for such an event.

The Duke appeared to be in good spirits as he took part in events as part of Cowes Week, in his role as Admiral and member of the Royal Yacht Squadron.

prince philip

The Duke appeared to be in good spirits while watching the dressage at the London Olympics

He viewed the racing in the Solent on Tuesday before attending a luncheon on board a yacht, the My Farragon, accompanied by the Lord-Lieutenant of the Isle of Wight, Major General Martin White.

On Monday, he had been at a luncheon held at Newport's Chamber of Commerce, then visited manufacturers AJ Wells and Sons in the town before having dinner at the Pavilion in Cowes.

The Duke also took part in several events during his and the Queen's annual week of engagements in Scotland last month.

He accompanied the Queen on a visit to the Scottish National Portrait Gallery and at a special thanksgiving service in Glasgow to mark her 60 years on the throne.

Philip joined several members of the Royal Family when his grandson, the Duke of Cambridge, was installed as a Knight of the Thistle at a service in Edinburgh.

Loading Slideshow...
  • (L-R) Camilla, Duchess of Cornwall, Prince Charles, Prince of Wales, Queen Elizabeth II, Prince William, Duke of Cambridge, Catherine, Duchess of Cambridge and Price Harry wave to the crowds from Buckingham Palace during the Diamond Jubilee carriage procession after the service of thanksgiving at St.Paul's Cathedral on the Mall on June 5, 2012 in London, England. For only the second time in its history the UK celebrates the Diamond Jubilee of a monarch. Her Majesty Queen Elizabeth II celebrates the 60th anniversary of her ascension to the throne. Thousands of wellwishers from around the world have flocked to London to witness the spectacle of the weekend's celebrations. (Photo credit: Dan Kitwood/Getty Images)

  • The Royal Air Force Aerobatic Team fly in formation over Buckingham Palace as The Royal family stand on the balcony on June 5, 2012 in London, England. For only the second time in its history the UK celebrates the Diamond Jubilee of a monarch. Her Majesty Queen Elizabeth II celebrates the 60th anniversary of her ascension to the throne. Thousands of wellwishers from around the world have flocked to London to witness the spectacle of the weekend's celebrations. (Photo credit: Peter Macdiarmid - WPA Pool /Getty Images)

  • Prince William, Duke of Cambridge, Prince Harry and Catherine, Duchess of Cambridge on the balcony of Buckingham Palace after the service of thanksgiving at St.Paul's Cathedral on June 5, 2012 in London, England. For only the second time in its history the UK celebrates the Diamond Jubilee of a monarch. Her Majesty Queen Elizabeth II celebrates the 60th anniversary of her ascension to the throne. Thousands of wellwishers from around the world have flocked to London to witness the spectacle of the weekend's celebrations. (Photo credit: Oli Scarff/Getty Images)

  • (L-R) Camilla, Duchess of Cornwall, Prince Charles, Prince of Wales, Queen Elizabeth II, Prince William, Duke of Cambridge, Catherine, Duchess of Cambridge and Price Harry wave to the crowds from Buckingham Palace during the Diamond Jubilee carriage procession after the service of thanksgiving at St.Paul's Cathedral on the Mall on June 5, 2012 in London, England. For only the second time in its history the UK celebrates the Diamond Jubilee of a monarch. Her Majesty Queen Elizabeth II celebrates the 60th anniversary of her ascension to the throne. Thousands of wellwishers from around the world have flocked to London to witness the spectacle of the weekend's celebrations. (Photo credit: Dan Kitwood/Getty Images)

  • British police lead flag waving crowds lining the monarch's route from the Houses of Parliament to Buckingham Palace to celebrate the Queen's Diamond Jubilee in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations with a thanksgiving service and ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: AFP PHOTO / JOHN MACDOUGALLJOHN MACDOUGALL/AFP/GettyImages)

  • Royal Air force Red Arrow display team fly pass Buckingham Palace in London where Britain Queen Elizabeth II watches from the palace balcony as part of a four-day Diamond Jubilee celebration to mark the 60th anniversary of Queen Elizabeth II accession to the throne, Tuesday, June 5, 2012. (Photo credit: AP Photo/Sang Tan)

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, Duchess of Cornwall and Prince Charles, Prince of Wales after a lunch at Westminster Hall as part of the Diamond Jubilee celebrations.

  • Queen Elizabeth II travels through Trafalgar Square, London with the Prince of Wales and Duchess of Cornwall on route to Buckingham Palace during the Diamond Jubilee celebrations.

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, Duchess of Cornwall and Prince Charles, Prince of Wales after a lunch at Westminster Hall as part of the Diamond Jubilee celebrations.

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, Duchess of Cornwall and Prince Charles, Prince of Wales after a lunch at Westminster Hall as part of the Diamond Jubilee celebrations.

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, the Duchess of Cornwall and the Prince Charles, the Prince of Wales after a lunch at Westminster Hall in London.

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, Duchess of Cornwall and Prince Charles, Prince of Wales after a lunch at Westminster Hall as part of the Diamond Jubilee celebrations.

  • Queen Elizabeth II travels by carriage to Buckingham Palace with Camilla, Duchess of Cornwall and Prince Charles, Prince of Wales after a lunch at Westminster Hall as part of the Diamond Jubilee celebrations.

  • The Duchess of Cambridge arrives for a lunch at Westminster Hall in London with 700 guests on the final day of Queen Elizabeth II's Diamond Jubilee celebrations.

  • The Duke and Duchess of Cambridge travel in a carriage to Buckingham Palace along The Mall, London.

  • Catherine, Duchess of Cambridge attends a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee.

  • The Duke and Duchess of Cambridge travel in a carriage to Buckingham Palace along The Mall, London.

  • The Duchess of Cambridge arrives for a lunch at Westminster Hall in London with 700 guests on the final day of Queen Elizabeth II's Diamond Jubilee celebrations.

  • Prince Harry and the Duke and Duchess of Cambridge attend a service of thanksgiving to celebrate the Diamond Jubilee of Queen Elizabeth II at St Paul's Cathedral, London.

  • The Duke and Duchess of Cambridge leave Westminster Hall after a Diamond Jubilee Luncheon given for The Queen by The Livery Companies of The City of London.

  • Members of the public gather along Whitehall to try and get a glimpse of the Queen on her way back to Buckingham Palace, London as part of the Diamond Jubilee celebrations.

  • Prince Charles, Prince of Wales and Archbishop of York, Dr John Sentamu attend a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee.

  • Princess Beatrice attends a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee.

  • Britain's Queen Elizabeth II waves next to the Dean of St. Paul's David Ison as she leaves St Paul's Cathedral after the National Service of Thanksgiving in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations and festivities will conclude with a ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: IAN KINGTON/AFP/GettyImages)

  • Britain's Queen Elizabeth II waves as she leaves St Paul's Cathedral after the National Service of Thanksgiving in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations and festivities will conclude with a ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: IAN KINGTON/AFP/GettyImages)

  • Britain's Queen Elizabeth II walks down the staris next to the Dean of St. Paul's David Ison as she leaves St Paul's Cathedral after the National Service of Thanksgiving in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations and festivities will conclude with a ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: IAN KINGTON/AFP/GettyImages)

  • Britain's Queen Elizabeth II (Top C) and members of the Royal Family leave St Paul's Cathedral in London, following a service of thanksgiving on June 5, 2012, during the Queen's diamond jubilee. Queen Elizabeth II attended the final day of celebrations for her diamond jubilee Tuesday, but the pomp and splendour were marred by the absence of her husband Prince Philip after he was hospitalised. (Photo credit: JEFF J MITCHELL/AFP/GettyImages)

  • Overall inside view taken as Britain's Queen Elizabeth II (bottom) arrives at St Paul's Cathedral for National Service of Thanksgiving to celebrate the Queen's Diamond Jubilee in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations and festivities will conclude with a ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: JEFF J MITCHELL/AFP/GettyImages)

  • Britain's Prime Minister David Cameron (front R) and his wife Samantha Cameron (front L) and Deputy Prime Minister Nick Clegg (R) and his wife Miriam Gonzales leave St Paul's Cathedral after a National Service of Thanksgiving to celebrate the Queen's Diamond Jubilee in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations and festivities will conclude with a ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: STEFAN ROUSSEAU/AFP/GettyImages)

  • Diamond Jubilee celebrations

    Queen Elizabeth II holds a bouquet of flowers as she returns to Buckingham Palace after attending a National Service of Thanksgiving and a Lunch in honour of her Diamond Jubilee.

  • Diamond Jubilee celebrations

    Queen Elizabeth II, followed by the Prince of Wales, the Duchess of Cornwall, the Duchess of Cambridge and the Duke of Cambridge and Prince Harry, leave Westminster Hall at the Palace of Westminster, London, following the Diamond Jubilee Lunch.

  • Diamond Jubilee celebrations

    Queen Elizabeth II, followed by the Prince of Wales, the Duchess of Cornwall, the Duchess of Cambridge and the Duke of Cambridge and Prince Harry, leave Westminster Hall at the Palace of Westminster, London, following the Diamond Jubilee Lunch.

  • Camilla, Duchess of Cornwall attends a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee. (Photo credit: Chris Jackson/PA Wire)

  • Princess Beatrice (left) and Princess Eugenie leave following a service of thanksgiving, at Saint Paul's Cathedral, in central London. (Photo credit: Dominic Lipinski/PA Wire)

  • Zara Phillips leaves following a service of thanksgiving, at Saint Paul's Cathedral, in central London. (Photo credit: Dominic Lipinski/PA )

  • Prime Minister David Cameron reads during the service of thanksgiving for the Diamond Jubilee of Queen Elizabeth II, at St Paul's Cathedral, London. (Photo credit should read: Tim Ireland/PA Wire)

  • Crowds watch as the royal motorcade passes along Parliament Street, in London. (Photo credit should read: Matthew Lloyd/PA Wire)

  • A service of thanksgiving to celebrate the Diamond Jubilee of Queen Elizabeth II takes place at St Paul's Cathedral, London. (Photo credit: Murray Sanders/Daily Mail/PA Wire)

  • Prime Minister David Cameron and wife Samantha Cameron attend a service of thanksgiving to celebrate the Diamond Jubilee of Queen Elizabeth II at St Paul's Cathedral, London. (Photo credit: Murray Sanders/Daily Mail/PA Wire)

  • (left - right) Prime Minister David Cameron, chats with his wife Samantha Cameron, alongside Nick Clegg and his wife Miriam Gonzalez Durantez and Foreign Secretary, William Hague and his wife Ffion Hague, as they attend a National Service of Thanksgiving at St Paul's Cathedral in central London, as part of four days of celebrations to mark the Diamond Jubilee. (Photo credit: Joel Ryan/PA Wire)

  • Labour leader Ed Miliband attends a service of thanksgiving to celebrate the Diamond Jubilee of Queen Elizabeth II at St Paul's Cathedral, London. (Photo credit should read: Suzanne Plunkett/PA Wire)

  • Princess Eugenie attends a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee. (Photo credit: Chris Jackson/PA Wire)

  • Sophie, Countess of Wessex attends a reception at Guildhall in central London for Queen Elizabeth II's Diamond Jubilee. (Photo credit: Chris Jackson/PA Wire)

  • The Duchess of Cornwall and the Prince Harry, arrive at Westminster Hall at the Palace of Westminster, London, for the Queen's Diamond Jubilee Lunch. (Photo credit: Nick Ansell/PA Wire)

  • Queen Elizabeth II, followed by the Prince of Wales, the Duchess of Cornwall, the Duchess of Cambridge and the Duke of Cambridge, arrives at Westminster Hall at the Palace of Westminster, London, for the Diamond Jubilee Lunch. (Photo credit: Nick Ansell/PA Wire)

  • Queen Elizabeth II, at Westminster Hall at the Palace of Westminster, London, during her Diamond Jubilee Lunch. (Photo credit: Nick Ansell/PA Wire)

  • Prime Minister David Cameron, Samantha Cameron and Deputy Prime Minister Nick Clegg attend a service of thanksgiving to celebrate the Diamond Jubilee of Queen Elizabeth II takes place at St Paul's Cathedral, London. (Photo credit: Suzanne Plunkett/PA Wire)

  • British Chancellor of the Exchequer George Osborne (R) and his wife Frances (L) arrive for a national service of thanksgiving for the Queen's Diamond Jubilee at Saint Paul's Cathedral in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations with a thanksgiving service and ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: STEFAN ROUSSEAU/AFP/GettyImages)

  • British Foreign Secretary William Hague (L) and his wife Ffion (R) arrive for a national service of thanksgiving for the Queen's Diamond Jubilee at Saint Paul's Cathedral in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations with a thanksgiving service and ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: STEFAN ROUSSEAU/AFP/GettyImages)

  • Britain's Prince William (L) and Catherine, Duchess of Cambridge (R) leave Saint Paul's Cathedral after a national service of thanksgiving for the Queen's Diamond Jubilee in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations with a thanksgiving service and ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: IAN KINGTON/AFP/GettyImages)

  • Britain's Queen Elizabeth II (R) follows the Sword of State carried into St Paul's Cathedral for a national service of thanksgiving for the Queen's Diamond Jubilee in London on June 5, 2012. Britain's Queen Elizabeth II wraps up four days of diamond jubilee celebrations with a thanksgiving service and ceremonial carriage procession in London, a formal contrast to the spectacular pop tribute staged outside Buckingham Palace the day before. (Photo credit: JEFF J MITCHELL/AFP/GettyImages)