The Daegu Hyanggyo (a hyanggyo is a state-sponsored academy where students studied Confucianism and prepared for the gwageo, civil service examinations during the Goryeo Dynasty, 918-1392, and Joseon Dynasty, 1392 - 1910) was founded in 1398 during the reign Joseon Dynasty King Taejo.