What is the Origin of Thanksgiving?

Thanksgiving was started when the pilgrims settled in North America. The Native Americans taught them how to harvest food and they shared meals together in thanks.