Following the entry of France into the American War of Independence as an American ally in early 1778, French Admiral the Comte D'Estaing arrived in the West Indies in early December 1778 in command of a fleet consisting of 12 ships of the line and a number of smaller vessels. At about the same time, a British fleet under Admiral William Hotham also arrived, augmenting the fleet of Admiral Samuel Barrington. The British then captured French-held St. Lucia, despite d'Estaing's attempt at relief. The British used St. Lucia to monitor the major French base at Martinique, where d'Estaing was headquartered.