A popular urban legend holds that the archetypal pizza , Pizza Margherita , was invented in 1889 , when the Royal Palace of Capodimonte commissioned the Neapolitan pizzaiolo Raffaele Esposito to create a pizza in honor of the visiting Queen Margherita .
In June 1889 , the Neapolitan chef Raffaele Esposito created the `` Margherita '' in honor of Queen Margherita , and was the first pizza to include cheese .