The pie has been around for centuries, in both savory and sweet forms. But pies have been perceived and presented in a lot of different ways, and have even been an issue of deep contention.
Research:

SYMHC Classics: Libertalia
32:21

Behind the Scenes Minis: Pirate Evolution
15:30

Thomas Henry Huxley
41:04