By the time the Declaration of Independence was adopted in July 1776, the Thirteen Colonies and Great Britain had been at war for more than a year. Relations between the colonies and the mother country had been deteriorating since the end of the Seven Years' War in 1763. The war had plunged the British government deep into debt, and so Parliament enacted a series of measures to increase tax revenue from the colonies. Parliament believed that these acts, such as the Stamp Act of 1765 and the Townshend Acts of 1767, were a legitimate means of having the colonies pay their fair share of the costs to keep the colonies in the British Empire.[6]