originally made by the egyptians, one of the earliest forms of pastry was made by combining flour and water into a paste which was then wrapped around meat to be baked. pastries were later developed in the middle east and would eventually be brought to europe, gaining popularity in the medieval period.