In 1776 the British had qualified success in the American Revolutionary War. After being forced to abandon Boston, they captured New York City, but were unable to hold New Jersey when General George Washington surprised them at Trenton and Princeton. The British consolidated their hold on New York City and Long Island during the winter months of early 1777, while the Continental Army established a land blockade around the city in New Jersey, southern New York, and southwestern Connecticut.