The first known gingerbread recipe came from Greece. Chinese recipes were developed in the 10th century, and by the later Middle Ages, Europeans had their own version of gingerbread. Hard cookies, sometimes gilded with gold leaf and in the shapes of animals.