Question: When was the Election in which Andrew Cornwell was a member of the New South Wales Legislative Assembly held? 
Sentence (from "Andrew Cornwell"): After earlier announcing that would not contest his seat at the next state election, on 12 August 2014 Cornwell resigned from parliament with immediate effect triggering the 2014 Charlestown by-election.
Relevant evidence: No