I believe it was Andrew Johnson, but yes, that's how I learned it. Lincoln declared a day of Thanksgiving in 1863 after several northern victories, including Vicksburg and Gettysburg, but Johnson finally nailed down the date for annual observances. For some reason it took a while to catch on...