When was Amazing Grace published?

Amazing Grace was first published in "Olney Hymns" which was printed in 1779