William Gosset was born in 1782 in Jersey.
He started his career in the Royal Engineers, and from 1818 his direction turned towards politics, acting as MP for Truro from 1820 to 1826. From 1827 Gosset’s career began to follow that of the 1st Marquess of Anglesey, made his Secretary when Anglesey was appointed Master General of the Ordnance and then as Anglesey’s Private Secretary when he acted as Irish Viceroy from 1828.
Gosset remained at Dublin Castle until 1835 when the second Melbourne administration wanted a change in Irish policy. Gosset subsequently made Serjeant-at-Arms to the Commons until his death in 1848.