Scholar who served under Kim Si-min in the Imjin War; pen name Ohyudang
| Era | 조선 중기 |
| Clan | 광주 안씨 |
An Gong (安㺬) was a mid-Joseon scholar from Gwangju, courtesy name Daeji, pen name Ohyudang (五休堂), born in Miryang. His father An Gwang-so was posthumously made a vice-minister, and his mother was a daughter of Yi Gyo of Goseong.
He first studied under An Yeo-gyeong (安餘慶) and later under Jang Hyeon-gwang. When the Imjin War began in 1592 he joined the camp of Kim Si-min and performed many services, was named a deputy director of the armory but did not take up the post.
He devoted himself to the classics, especially the Simgyeong and Elementary Learning. When village schools were destroyed by war he gathered like-minded men to build one, and he built a hall for archery rites and drew up rules to encourage study. He compiled Garye buche (6 vols.), Ohyeon jeon (1 vol.) and Jahae (2 vols.), and his collected works are the Ohyudangjip.
Kim Si-min is known as the commander of the 1592 defense of Jinju Fortress. That An joined his camp and served well is an example of a scholar taking part in military affairs. His not taking up the armory post is similar to An Min-hak declining a post.
He did not neglect education even in wartime. Building a new school to replace the destroyed one and setting rules at the archery hall are seen as models for provincial scholars. Garye buche adds the arguments of Korean worthies to Zhu Xi's Family Rituals, Ohyeon jeon contains biographies of five worthies, and Jahae studies Korean and Chinese words, all as resources for scholars.
He regarded scholars' courting of the powerful as a greater harm than heterodoxy and never set foot at a powerful man's gate.
The location of his grave was not confirmed.