What is the Quartering Act?

The quartering act was set to protect the soldiers, to make sure they had proper housing and food. They passed the act in March of 1765.