The Quartering Act of 1774 was passed as part of the Intolerable Acts in 1774. The British hoped to establish Imperial control within the colonies by subjecting the colonies to the control of the British government. While most of the Intolerable Acts were directed at Massachusetts, this particular Act applied to all colonies.
The act allowed the governor to assign soldiers to abandoned buildings if necessary quarters were not provided. It is a myth that soldiers were being quartered in private homes. The colonists were also required to provide food and any other necessities that the British soldiers needed. This caused much resentment towards the British soldiers and provided fuel for the argument that many men such as Samuel Adams and John Hancock were making, which was the British were oppressing the rights of the colonists.
Instead of subjecting the colonies to their rule, it united the colonies against their rule. Each colony was affected by this act; Therefore, it was the entire thirteen colonies being punished for what Massachusetts had done. The British were unknowingly sowing the seeds of the American Revolutionary War.