Tanzania's presidency said Benjamin Mkapa, 81, died while receiving treatment at a hospital in Dar es Salaam.