When was Thanksgiving first proclaimed a National Holiday by the President of the United States?

When was Thanksgiving first proclaimed a National Holiday by the President of the United States?