The Declaratory Act was passed concurrently with the repeal of the Stamp Act of 1765. The Stamp Act was met with strong hostility in the colonies, including boycotts and rallies that harmed British trade. Parliament revoked it to reduce tensions but then introduced the Declaratory Act to assert its continued power over the colonies.