In February 1936 the Spanish general election brought many communist leaders into the Popular Front government in the Second Spanish Republic, but in a matter of months a right-wing military coup initiated the Spanish Civil War of 1936–1939.