Which statement accurately describes the significance of the War of 1812?

AEngland realized that the United States would remain an independent nation.
BPresident James Madison was impeached by Congress over his handling of the war.
CThe United States gained territory in Mexico and annexed Texas.
DFrance regained New Orleans after a victory by Napoleon's army.