LONDON (AP) — Prince Philip, the husband of Queen Elizabeth II, was admitted to a London hospital Friday “as a precautionary measure,” Buckingham Palace said.

The palace said the 98-year-old Philip was admitted to the King Edward VII hospital for observation and treatment of a preexisting condition.

“The admission is a precautionary measure, on the advice of His Royal Highness’ Doctor,” the palace said in a statement.

Philip had been at the royal family’s Sandringham estate in eastern England, where the queen and her family usually spend Christmas. The palace said Philip didn’t travel by ambulance and his admission wasn’t an emergency. He is expected to be in hospital for a few days.

The 93-year-old queen traveled to Sandringham from London on Friday morning after attending the State Opening of Parliament in London on Thursday. She did not change her schedule after her husband’s hospital admission, which was planned in advance.

The private King Edward VII hospital in central London has been treating members of the royal family for decades.

Philip, also known as the Duke of Edinburgh, married Elizabeth in 1947 and is the longest-serving royal consort in British history. He and the queen have four children, eight grandchildren and eight great-grandchildren.

A former naval officer and keen polo player, Philip enjoyed robust health well into old age but has had a number of health issues in recent years. He stopped attending public engagements in 2017.