Cookie
Cookies where made in Ancient Greece around 1200 BC. Hard wafers have been made for as long as baking existed. They were very popular because they last a long time and are not fragile, but they were normally not sweet enough to be called cookies today.