He was the fifth of eight sons, ninth of the sixteen children, of Andrew Stirling, Esq. of Drumpellier near Coatbridge, North Lanarkshire, Scotland, and his father's second cousin, Anne Stirling [REF].
The Stirling family was well-known and celebrated in the naval annals of the 18th century.