Background
He was the elder son of Sir James Gray, 1st Baronet and his wife Hester Dodd.
He was the elder son of Sir James Gray, 1st Baronet and his wife Hester Dodd.
He completed his education at Clare College, Cambridge, being awarded Master of Arts
In 1729. He then travelled on the continent. He began a diplomatic career in 1744 as secretary to Robert Darcy, 4th Earl of Holderness, the Minister Resident at Venice and succeeded him as Resident there from 1746 to 1752. In October 1753, he was sent to Naples, where he remained until 1763, undertaking a mission to Rome concerning The Young Pretender in 1755.
His final diplomatic position was as ambassador to Spain from 1766 to 1770, during which time he was there only about two years.
On his return to England in 1769, he was sworn to the Privy Council. He was made a Knight Companion of the Order of the Bath in 1759.
While in Naples, he took a close interest in the archaeological discoveries at Portici and Herculaneum. He nominated suitable young grand tourists for the Society of Dilettanti.
He also offered advice on the king"s new palace at Caserta.
Their mother was a noblewoman named Donna Caterina Rosiglio, to whom he was not married at the time of their births.