The British law that required William to provide the British soldiers with food and shelter was the Quartering Act.
The Quartering Act of 1774 was a law passed by the British parliament requiring the Britain’s North American colonies to provide food and shelter to the British soldiers by accommodating them in private homes and facilities. The act was resented by the colonies who viewed it as an unjust taxation. The act was passed mainly due to the significantly increasing defense cost of the empire in America following the French and Indian War and Pontiac’s War. It was also a declaration of British authority over the colonies. Â
Learn more about Quartering Act:
https://brainly.com/question/24682307
#SPJ4