The Second Republic, which adopted a parliamentary cabinet system, lasted only nine months. A figurehead president was elected by both houses of the legislature, and power was shifted to the office of Prime Minister Chang Myŏn, who was elected by the lower house by a narrow margin of 10 votes. The Chang government made some strenuous efforts to initiate reforms.