Rhode Island was the first colony in America to declare independence on May 4, 1776, a full two months before the United States Declaration of Independence. Rhode Islanders had attacked the British warship HMS "Gaspee" in 1772 as one of the first acts of war leading to the American Revolution. British naval forces under Captain James Wallace controlled Narragansett Bay for much of the Revolutionary War, periodically raiding the islands and the mainland. The British raided Prudence Island for livestock and engaged in a skirmish with American forces, losing approximately a dozen soldiers. Newport remained a hotbed for Loyalist sympathizers who assisted the British forces, so the state appointed General William West of Scituate to root them out in the winter of 1775–76. British forces occupied Newport from 1777 to 1778, pushing the Colonial forces to Bristol.