Moore resigned as a state MP as a result of new state laws (labelled in the media as the "Get Clover" laws) preventing dual membership of state parliament and local councils. Following her re-election as mayor in the 2012 elections, she was forced to resign the state seat she held for 24 years before the first meeting of the new council. This resulted in a 2012 Sydney by-election on 27 October in which she endorsed independent candidate Alex Greenwich of the Australian Marriage Equality advocacy group who won in a landslide victory.