What was the Cause of the War of 1812?

There were many causes to the war of 1812. In June of 1812 the United States declared war on Britain. One of the main reasons were the maritime laws Britain was using.