When did the War of 1812 start and end?

It started in 1814.