At the end of 1777, Howe resigned and was replaced by Sir Henry Clinton on May 24, 1778; with French entry into the war, he was ordered to consolidate his forces in New York. On June 18, the British departed Philadelphia with the reinvigorated Americans in pursuit; the Battle of Monmouth on June 28 was inconclusive, but boosted Patriot morale. Washington had rallied Charles Lee's broken regiments, the Continentals repulsed British bayonet charges, the British rear guard lost perhaps 50 per-cent more casualties, and the Americans held the field at the end of the day. That midnight, the newly installed Clinton continued his retreat to New York.