The earliest recorded use of carrots in sweet dishes can be traced back to the Middle Ages in Europe. During this period, sweeteners like sugar and honey were often expensive and hard to come by. Carrots, which contain natural sugars, were used as a substitute in desserts. The modern carrot cake as we know it began to take shape in the UK. It is believed that the carrot cake was popularized in Britain during World War II due to rationing. Again, because of the limited availability of sweet ingredients, carrots served as a viable alternative. The carrot cake was introduced to the U.S. probably sometime in the early 20th century. However, its popularity soared in the 1960s and 1970s. The cake became a mainstream dessert and was often featured in restaurants, bakeries, and home recipes. It was around this time that cream cheese frosting became the standard topping for carrot cake in the U.S., adding to its appeal.