Kim Bu-sik compiled the Samguk Sagi by royal command; it remains the oldest extant official history of Korea.