When was Amazing Grace created?

Amazing Grace was created in 1772.