Mixtures of milk and eggs thickened by heat have long been part of European cuisine. Custards baked in pastry (custard tarts) were very popular in the Middle Ages, and are the origin of the English word 'custard': 'croustade' originally referred to the crust of a tart.