Buckingham Palace said in a statement that Charles, who was visited in hospital by Camilla each day of his stay, wanted to thank his medical team and all those who had supported his hospital visit.

"The King was this afternoon discharged from hospital following planned medical treatment and has rescheduled forthcoming public engagements to allow for a period of private recuperation," Buckingham Palace said.

Britain's royals usually regard all medical issues as a private matter, but Charles chose to publicize his condition to encourage other men to have medical checks.

His need for the procedure to treat an enlarged prostate, a benign condition common among men over 50, was announced by Buckingham Palace on Jan. 17.