The Hansel and Gretel story by the Brothers Grimm in the 17th century may have increased the popularity of gingerbread houses.