The 1954 to 1959 phase of the Vietnam War was the era of the two nations. Coming after the First Indochina War, this period resulted in the military defeat of the French, a 1954 Geneva meeting that partitioned Vietnam into North and South, and the French (see First Indochina War), leaving the Republic of Vietnam regime fighting a communist insurgency with USA aid. During this period, North Vietnam recovered from the wounds of war, rebuilt nationally, and accrued to prepare for the anticipated war. In South Vietnam, Ngô Đình Diệm consolidated power and encouraged anti-communism. This period was marked by U.S. support to South Vietnam before Gulf of Tonkin, as well as communist infrastructure-building.