Did pilgrims have apple pie?

They most likely had some pastry that was somewhat like apple pie.