Wang Geon (877-943), born to the great clan of Songak (modern Kaesong), founding ruler of Goryeo, temple name Taejo. In the last years of Silla the local magnates carved the land: Gyeon Hwon raised Later Baekje, Gung Ye Later Goguryeo — the Later Three Kingdoms with Silla. Wang Geon's father was a general under Gung Ye; succeeding him as commander, Wang Geon won men by generosity, and in 918 the officers set him in Gung Ye's place — the state named Goryeo, capital at Gaegyeong. Unification followed step by step: in 935 Silla's King Gyeongsun surrendered the kingdom whole, its royal family honored; in 936 Later Baekje fell and Gyeon Hwon submitted — the Later Three Kingdoms ended, the peninsula united for the first time since Silla, Baekje and Goguryeo stood apart. Twenty-six years on the throne, he left the Ten Injunctions for his heirs: honor Buddhism and protect the dharma; take the Tang (Chinese) system for the civil examinations; restrain the great clans, binding the local magnates by marriage; press north beyond the Taedong. Toward the rising Khitan Liao he took the practical road, warning his heirs against reckless wars — the five-hundred-year frame of Goryeo and its Buddhist state character fixed by him. He died in 943, buried at Hyeolleung.