The word "pizza" is thought to have come from the Latin word pinsa, meaning flatbread.
According to popular tradition, in 1889, 28 years after the unification of Italy, during a visit to Naples of Queen Margherita of Savoy, wife of King Umberto I, chef Raffaele Esposito of Pizzeria Brandi and his wife created a pizza resembling the colors of the Italian flag, red (tomato), white (mozzarella) and green (basil). They named it after the Queen - Pizza Margherita.
Even though tomatoes reached Italy by the 1530's it was widely thought that they were poisonous and were grown only for decoration. However the innovative (and probably starving) peasants of Naples started using the supposedly deadly fruit in many of their foods, including their early pizzas. Since that fateful day the world of Italian cuisine would never be the same, however it took some time for the rest of society to accept this crude peasant food. Once members of the local aristocracy tried pizza they couldn't get enough of it, which by this time was being sold on the streets of Naples for every meal. As pizza popularity increased, street vendors gave way to actual shops where people could order a custom pizza with many different toppings. By 1830 the "Antica Pizzeria Port'Alba" of Naples had become the first true pizzeria and this venerable institution is still producing masterpieces.
The popular pizza Margherita owes its name to Italy's Queen Margherita who in 1889 visited the Pizzeria Brandi in Naples. The Pizzaiolo (pizza maker) on duty that day, Rafaele Esposito created a pizza for the Queen that contained the three colors of the new Italian flag. The red of tomato, white of the mozzarella and fresh green basil, was a hit with the Queen and the rest of the world. Neapolitan style pizza had now spread throughout Italy and each region started designing their own versions based on the Italian culinary rule of fresh, local ingredients.