A shift in focus to the southern American states in 1779 resulted in a string of victories for the British, but General Nathanael Greene engaged in guerrilla warfare and prevented them from making strategic headway. The main British army was surrounded by Washington's American and French forces at Yorktown in 1781, as the French fleet blocked a rescue by the Royal Navy. The British then sued for peace.