Abdelaziz Bouteflika, who ruled Algeria for two decades before resigning in 2019 as huge protests engulfed the country, died on Friday aged 84, public television announced.