Tanzania's President John Magufuli has died after more than two-week absence from public life that led to speculation about his health.
Vice President Samia Suluhu Hassan said he died from the heart disease that had plagued him for a decade. He was 61.
She said burial arrangements were under way and announced 14 days of mourning and the flying of flags at half staff.
State television broadcast mournful and religious songs.
Magufuli, had not been seen in public since February 27, sparking rumours that he had contracted COVID-19. Officials denied on March 12 that he had fallen ill and on Monday the vice president urged Tanzanians not to listen to rumours from outside the country and said it was normal for a human being to be checked for the flu or fever.
“Dear Tanzanians, it is sad to announce that today 17 March 2021 around 6:00 pm we lost our brave leader, President John Magufuli who died from heart disease at Mzena hospital in Dar es Salaam where he was getting treatment," the vice president said on state broadcaster TBC.
He was Tanzania's first president to die while in office.
Prime Minister Kassim Majaliwa said on Friday that he had spoken to Magufuli, and blamed the narrative of the president's ailment on some "hateful" Tanzanians living abroad.
Tundu Lissu, Magufuli's main rival in the October election when the president won a second five-year term, had suggested Tanzania's leader had been flown to Kenya for treatment for COVID-19 and then moved to India in a coma.
After the death was announced, opposition leader Zitto Kabwe said he had spoken to Vice President Hassan to offer condolences for Magufuli's death. "The nation will remember him for his contribution to the development of our country," Kabwe said in a statement published on Twitter.


Philippines confirms visit by alleged Bondi gunmen amid terrorism concerns
Israeli forces kill Palestinian teen in West Bank, health ministry says
Trump sues BBC for defamation, seeks up to $10 billion in damages
FBI foils 'terror plot' targeting Los Angeles
Hong Kong court finds tycoon Jimmy Lai guilty in landmark security trial
Ukraine peace talks stretch into second day at start of pivotal week for Europe
Flash floods kill at least 37 people in Morocco's Safi province
'Hero' who disarmed Bondi gunman recovering after surgery, family says
