In September 2008, with Opposition from the Liberal and National Parties, as well as dissident Labor MPs, the privatisation bill was defeated. Soon afterwards, amid mounting leadership speculation, Morris Iemma dumped Costa as Treasurer, but then resigned as Premier after losing the support of the dominant right faction, and was replaced by Nathan Rees. Costa announced that he was quitting politics, and after resigning from his seat was replaced by John Robertson.
