<human>:  What is the history of apple pie?
<bot>: Apple pie has been a part of American cuisine since the colonial era. It is believed that the first apple pie recipes appeared in England during the 16th century. Apples, butter, spices, and sugar were used to make the pies. The pies were first served in America during the colonial period, when the English settlers brought them over. Over time, the recipe was tweaked and became a popular dessert. Today, apple pies are often made with tart apples such as Granny Smith, as well as sugar, cinnamon, nutmeg, and other spices, and can be served either hot or cold. It is a beloved dessert around the world and its popularity has not diminished over the centuries.