In 1777, the British attacked Philadelphia, which was the American capital. Two battles were fought over Philadelphia: Brandywine and Germantown. Again, the Americans lost a major city, but Washington was able to keep most of his army. Around then, the thw marquis de Lafayette joined the American Army from his native France. In 1778, the British left Philadelphia.