Clinton had divided his army into two divisions for the march from Philadelphia; most of the combat troops were concentrated in the first division, while the second comprised most of the heavy transport of a 1,500-wagon baggage train. The British were harassed by increasingly strong American forces as they traversed New Jersey, and by June 27, Lee's vanguard was within striking distance. When the British left Monmouth Court House the next day, Lee attempted to isolate and defeat their rearguard. The attack was poorly coordinated, and the Americans were quickly outnumbered when the British first division returned. Some of Lee's units began to withdraw, leading to a breakdown in command and control and forcing Lee to order a general retreat. A fiercely fought rearguard action by the vanguard gave Washington enough time to deploy the main body in a strong defensive position, against which British efforts to press the vanguard foundered. The infantry battle gave way to a two-hour artillery duel, during which Clinton began to disengage. The duel ended when a Continental brigade established artillery on a hill overlooking the British lines, forcing Clinton to withdraw his guns. Washington launched two small-unit attacks on Clinton's infantry as they withdrew, inflicting heavy casualties on the British during the second. An attempt by Washington to probe the British flanks was halted by sunset, and the two armies settled down within of each other. The British slipped away unnoticed during the night to link up with the baggage train. The rest of the march to Sandy Hook was completed without further incident, and Clinton's army was ferried to New York in early July.