Promoted to
rear admiral on 1 March 1703, Byng became third-in-command of the
Mediterranean Fleet under Admiral
Sir Cloudesley Shovell with his flag in the third-rate later that month. He led the bombardment squadron while serving under Admiral
Sir George Rooke at the
Capture of Gibraltar in August 1704 and then took part in the
Battle of Málaga in August 1704. and promoted to
vice admiral on 3 January 1705, he was elected
Member of Parliament for
Plymouth later that year. Byng became
Commander-in-Chief, Portsmouth, with his flag in the first-rate
HMS Royal Anne, in late 1705 and then took part in the bombardment of
Alicante in June 1706. After taking part in the British defeat at the
Battle of Toulon in July 1707 and, while sailing aboard his flagship HMS
Royal Anne, Byng was present during the
great naval disaster off the Isles of Scilly in October 1707 when Shovell and four of his ships were lost, claiming the lives of nearly 2,000 sailors. Promoted to full
admiral on 26 January 1708, Byng became Commander-in-Chief of the Mediterranean Fleet in January 1709 and went on to join the
Board of Admiralty led by the
Earl of Orford in November 1709. Byng was advanced to
Senior Naval Lord on the Admiralty Board in October 1710. He stood down from the Admiralty Board in January 1714 but was reappointed, as Senior Naval Lord again, on Orford's return to the Admiralty in October 1714. He was promoted to
Admiral of the Fleet on 14 March 1718 and, with his flag in the second-rate , he was sent out as Commander-in-Chief of the Mediterranean Fleet to thwart any attempt by the Spanish to gain or to consolidate their position in
Sicily. He encountered the Spanish fleet at
Naples and, after pursuing it down the
Strait of Messina, sent ahead his fastest ships causing the Spanish fleet to split in two. In the ensuing action on 11 August 1718, known as the
Battle of Cape Passaro, the Spanish fleet was devastated: 10 ships of the line were captured, 4 ships of the line sunk or burnt and 4 frigates were captured at this early and critical stage of the
War of the Quadruple Alliance. Byng was then given power to negotiate with the various princes and states of Italy on behalf of the English crown. Following his return to England, Byng became both
Treasurer of the Navy and
Rear-Admiral of Great Britain on 21 October 1720. He was admitted to the
Privy Council on 3 January 1721 and, having stepped down from the Admiralty Board in September 1721, He developed his estate at
Southill Park in
Bedfordshire in the 1720s. Byng was installed as a
Knight Companion of the Order of the Bath on 17 June 1725 and appointed
First Lord of the Admiralty during the
Walpole–Townshend Ministry in August 1727; in this role he was instrumental in the establishment of the
Royal Naval College at
Portsmouth. ==Marriage and progeny==