The government and public systems of the Joseon Dynasty were organized according to principles of Neo-Confucianism, the official state ideology.