The Brazilian military government began with the 1964 "coup d'état" led by the Armed Forces against the administration of President João Goulart—who, having been vice-president, had assumed the office of president upon the resignation of the democratically elected president Jânio Quadros—and ended when José Sarney took office on March 15, 1985 as President.