Answer:
(D) by the Treaty of Ghent
Step-by-step explanation:
The war of 1812 between the Americans and Britishers was ended withe treaty of Ghent sighed between the representatives of the two countries in Ghent, Belgium. The terms of the treaty includes settling the territorial dispute between the United States and Canada. It also included the exchange of wartime prisoners and Britain agreed to return or pay for the slaves, they captured from the United States.