The First Republic, established in August 1948, adopted a presidential system, and Syngman Rhee was subsequently elected its first president. South Korea also adopted a National Security Law, which effectively prohibited groups that opposed the state or expressions of support for North Korea. Rhee was reelected in August 1952 while the country was at war. Even before the outbreak of the Korean War (1950–53), there had been a serious conflict between Rhee and the opposition-dominated National Assembly that had elected him in 1948.