The Treaty of Ghent on February 17, 1815, ended the war. It left a profound and lasting legacy that reverberated through history and continues to be felt even today.