 Stokes was a policy adviser to Liberal Opposition Leader John Brogden, the Member for Pittwater.When Brogden resigned in controversial circumstances, the 2005 by-election was won by independent candidate Alex McTaggart in what many described as a shock result.Pittwater had long been reckoned as a classic "blue ribbon" Liberal seat.