Cookies originated from Persia, shortly after the use of sugar became relatively common in the region.