The smaller shrine within Jongmyo, Yeongnyeongjeon, was built in 1421 and has 34 spirit tablets of lesser kings in six rooms. These include four ancestors of King Taejo (the founder of the Joseon dynasty) who were made kings posthumously.