The Battle of Long Island was a significant British victory in the early stages of the American Revolutionary War over American forces under the command of General George Washington, and the opening battle in a successful British campaign to gain control of New York City in 1776. The Americans had lined New York's harbor with various levels of entrenchment and fortification, which were defended by an array of Continental Army forces and militia companies from New York and nearby states. After the British made an unopposed landing on Long Island in mid-August, Washington reinforced forward positions in the hills of central Brooklyn.