In 1388, an influential general named Yi Seonggye (1335–1408) carried out a "coup d'état" and established himself as the first ruler of the Joseon dynasty in 1392 with the support of this Neo-Confucian movement. He was posthumously renamed Emperor Taejo of Joseon in 1899. Joseon Buddhism, which had started off under the so-called "five doctrinal and two meditational" schools system of the Goryeo, was first condensed to two schools: Seon and Gyo. Eventually, these were further reduced to the single school of Seon.