Namibia's President Hage Geingob was diagnosed with cancer during a medical check-up earlier this month and will undergo treatment, the office of the 82-year-old head of state said on Friday.
A statement from his office did not give further details about his condition, but said he would continue to carry out presidential duties. Namibia is due to hold presidential and parliamentary elections at the end of 2024.
Geingob told the public in 2014 when he was prime minister that he had survived prostate cancer. He became president the following year.
"As part of regular annual medical examinations, the Presidency informed the Namibian public that the head of state was due for a colonoscopy and a gastroscopy on 8 January 2024, which were followed up with a biopsy, of which the results revealed cancerous cells," the presidency statement said.
"On the advice of the medical team, President Geingob will undertake appropriate medical treatment to deal with the cancerous cells."