The principal curricula during this time were the Four Books and Five Classics, and Northern history, which were at the beginning taught only at Buddhist pagodas and gradually brought to pupils in private classes organized by retired officials or Confucian scholars.