Who Wrote the Gettysburg Address?

While on a train on his way to commemorate the cemetary at Gettysberg and to recognize the horrific lose of life there, Abraham Lincoln wrote one of the most important speeches of his presidency on the back of an envelope,using his hat as a table.