Through the Torrijos–Carter Treaties, Carter guaranteed the eventual transfer of the Panama Canal to Panama. After the start of the Soviet–Afghan War, he discarded his conciliatory policies towards the Soviet Union and began a period of military build-up. Carter was elected as the Governor of Georgia in 1970, and during his four years in office he earned a reputation as a progressive, racially moderate Southern governor.