The earliest written record of pasta dates back to the 5th century Talmud, describing dried pasta that could be boiled and transported easily. Some historians believe Berbers brought pasta to Europe after conquering Sicily. Spaghetti grew popular in Italy after factories started mass producing it in the 19th century, enabling its widespread availability for the Italian market.