Following a military revolution in 1926 which overthrew a civilian government of squabbling politicians and a country close to failure, Dr. Salazar was invited to take control of the finances of the then-failed state. Dr. Salazar was Finance Minister for 13 days, but resigned in disgust over interference by politicians and soldiers and went back to his university. He was again persuaded to take over as Finance Minister in 1928, which he did conditionally on an assurance of greater powers for himself with minimal interference from the military. Salazar continued as minister until 1932, and was widely credited with turning the fledgling economy around.