Augusto José Ramón Pinochet Ugarte (] or ] ; 25 November 1915 – 10 December 2006) was a Chilean general, politician and the dictator of Chile between 1973 and 1990; he remained the Commander-in-Chief of the Chilean Army until 1998. He was also president of the Government Junta of Chile between 1973 and 1981. His rule of Chile was a dictatorship.
Augusto José Ramón Pinochet Ugarte remained president of Chile until 1998. 
The context explains that Augusto José Ramón Pinochet Ugarte was president only until 1981. The system was likely confused because the context states that Augusto José Ramón Pinochet Ugarte remained the Commander-in-Chief of the Chilean Army until 1998. 