After five days of waiting, the British attacked American defenses. Unknown to the Americans, however, Howe had brought his main army around their rear and attacked their flank soon after. The Americans panicked, although a stand by 400 Maryland troops prevented most of the army from being captured. The remainder of the army fled to the main defenses on Brooklyn Heights. The British dug in for a siege but, on the night of August 29–30, Washington evacuated the entire army to Manhattan without the loss of materiel or a single life. Washington and the Continental Army were driven out of New York entirely after the battle of Fort Washington and other defeats, and forced to retreat through New Jersey and into Pennsylvania.