What year was the Thanksgiving made?

The first Thanksgiving was celebrated in 1621. The first Thanksgiving as a national holiday was 1863.