The civil sexual assault case brought in the US against Britain's Prince Andrew has been officially dismissed after he paid a financial settlement to his accuser Virginia Giuffre.
"Stipulation of Dismissal" court documents were filed today calling for the legal action to be ended.
The joint order filed with the US District Court Southern District of New York added that each party would pay their own costs and fees.
Judge Lewis Kaplan signed the order shortly before 10pm irish time, bringing the long-running civil case to a close.
Earlier, the UK Treasury confirmed no British taxpayer funds were used for Andrew's multi million pound payment or for his legal fees.
Andrew has faced calls to confirm how he funded the substantial out-of-court settlement - which is reported to be as much as €14 million.
Ms Giuffre was suing the Duke of York for sexual abuse, saying he had sex with her when she was 17 and had been trafficked by his friend, the late billionaire paedophile Jeffrey Epstein.
Andrew, who has stepped down from royal duties and public life, claimed he has never met Ms Giuffre, but went on to avert a looming trial by agreeing a settlement last month.
Britain's Queen Elizabeth had already taken steps to distance the royal family from her son.
She stripped Andrew of his honorary military roles in January, with the duke also giving up using his HRH - a style he was born with.
Andrew's disastrous BBC Newsnight interview sealed his fate when he was accused of lacking empathy for Epstein's victims and of failing to show regret over his friendship with the disgraced financier.