Kim Il-sung (officially transcribed Kim Il Sung; English pronunciation: /ˈkɪm ˈɪlˈsʌŋ, -ˈsʊŋ/; Korean: 김일성; Korean pronunciation: [kimils͈ʌŋ]; born Kim Sŏng-ju (김성주); 15 April 1912 – 8 July 1994) was the first leader of North Korea which he ruled from the country's establishment in 1948 until his death in 1994. He held the posts of Premier from 1948 to 1972 and President from 1972 to 1994. He was also the leader of the Workers' Party of Korea (WPK) from 1949 to 1994 (titled as Chairman from 1949 to 1966 and as General Secretary after 1966). Coming to power after the end of Japanese rule in 1945, he authorized the invasion of South Korea in 1950, triggering an intervention in defense of South Korea by the United Nations led by the United States. Following the military stalemate in the Korean War, a ceasefire was signed on 27 July 1953. He was the third longest-serving non-royal head of state/government in the 20th century, in office for more than 45 years.