On 18 June, the United States declared war on Great Britain, citing, in part, impressment. After the Napoleonic Wars impressment was ended in practice, though not officially abandoned as a policy. The last law was passed in 1835, in which the power to impress was reaffirmed.