Where did the spanish potato omelette come from?

The Spanish potato omelette, or tortilla de patatas, is a traditional dish that is believed to have originated in Spain during the 18th century.

Although the exact origins are not fully documented, there are a few theories about how the dish came to be.

One theory suggests that the tortilla de patatas was created by Spanish peasants as a way to use up leftover potatoes and eggs. The dish became popular due to its simplicity and the ease with which it could be prepared with readily available ingredients.

Another theory suggests that the omelette was introduced to Spain by French soldiers during the Peninsular War (1808-1814). The French brought with them a similar dish called "omelette de pommes de terre", which may have influenced the creation of the Spanish version.

Regardless of its exact origins, the tortilla de patatas has become one of the most iconic and beloved dishes in Spanish cuisine. It is a staple of Spanish gastronomy and is widely enjoyed both in Spain and around the world.