LONDON — Buckingham Palace announced Thursday that “with the Queen’s approval and agreement,” all of Prince Andrew’s military affiliations and remaining royal patronages have been returned — a devastating blow for Elizabeth II’s second son, who is facing a U.S. civil lawsuit that accuses him of having sex with a teenager trafficked by disgraced financier Jeffrey Epstein.

Andrew, who denies the lawsuit allegations, has been mostly out of the public eye for the past year, and many organizations distanced themselves from him after he defended his relationship with Epstein in a disastrous 2019 BBC interview. But he had retained his honorary military titles with multiple British regiments. And the Buckingham Palace website had listed dozens and dozens of schools, hospitals and clubs with which he was still associated — including the Army Officers’ Golfing Society, the Fly Navy Heritage Trust, the Foundation for Liver Research and the elite Westminster Academy.

Thursday’s decision means the former navy pilot and divorced father of two adult daughters is now facing his accuser alone, without the backing of the palace and without the shield of honors his lifelong protector — his mother and his queen — had bestowed upon him.

The two-sentence statement from the palace ended, “The Duke of York will continue not to undertake any public duties and is defending this case as a private citizen.”

Where the money will come from for Andrew to defend himself — or settle out of court — is a hot topic in Britain.

He has been receiving a $27,000 annual pension from his navy service and a $342,000 annual allowance for his service as a senior working royal, according to figures widely reported by British media. Those funds may no longer be available.

Royal biographers have observed that the 61-year-old Andrew has often been seen as a favorite of his mother. But the 95-year-old queen has also been insistent during her long reign that duty, service, honor, and the preservation of the monarchy are supreme.

Andrew will stop using the honorific title “His Royal Highness,” though he remains a duke and a prince. His many patronages will be distributed among other members of the House of Windsor.

The MailOnline’s Thursday headline was: “Queen Casts Andrew Out.”

Nick Goldstone, a legal commentator and head of dispute resolution at the law firm Ince in London, said the stripping of titles and honorifics means “it would appear that the royal family are trying to distance themselves from the fallout from the Virginia Giuffre case and the toxicity of the allegations made against the Duke of York.”

A judge in New York ruled on Wednesday that the lawsuit brought against Andrew by Giuffre can go forward, for now.

A Manhattan judge on Jan. 12 rejected Prince Andrew’s bid to dismiss a lawsuit accusing him of sexually abusing a 17-year-old girl roughly two decades ago. (Reuters)

Andrew’s defense team had argued that a 2009 agreement Giuffre signed as she settled with Epstein for $500,000 shielded the prince and anyone else she might sue in connection to her claims against Epstein, who died by suicide in 2019 while awaiting trial for sex trafficking.

But U.S. District Court Judge Lewis Kaplan determined that the settlement does not unequivocally free the royal from liability.

The revoking of Andrew’s military titles comes after 150 British veterans signed an open letter calling for the queen to strip her son of his military titles, adding that “if necessary, that he be dishonourably discharged.”

In their letter, the veterans wrote, “We are particularly upset and angry that Prince Andrew remains a member of the armed forces and continues to hold military titles, positions and ranks, including that of Vice Admiral of the Royal Navy.”

The veterans complained that the prince had brought disrepute on Britain’s armed forces and had been “uncooperative and less than truthful” about his friendship with Epstein.

Andrew’s precipitous fall follows other great family scandals, from the divorce and death of Princess Diana to the decision by Prince Harry and Meghan, Duchess of Sussex, to quit their roles as senior royals and move to southern California, along the way accusing their immediate family of casual racism.

Shayna Jacobs in New York contributed to this report.