Salvador Allende was the president of Chile from 1970 until his suicide in 1973, and head of the Popular Unity government; he was a Socialist and Marxist elected to the national presidency of a liberal democracy in Latin America. In August 1973 the Chilean Senate declared the Allende administration to be "unlawful," Allende's presidency was ended by a military coup before the end of his term. During Allende's three years, Chile gradually transitioned into a socialist state.