Former NSW treasurer Michael Costa has resigned from parliament saying his parliamentary career has ended in failure.

The move comes just two weeks after he was dumped from his job as the state’s treasurer.

Costa faxed his resignation to governor Marie Bashir late on Monday.

News Limited reports he leaves his upper house seat which will be automatically filled by a Labor candidate.

Costa’s resignation follows a spate of resignations following premier Nathan Rees’ reshuffle.

entering parliament under a changed superannuation scheme, he’ll have
to wait another three years for a parliamentary pension but he’s
unlikely to qualify for payments over 100,000 dollars.

Costa said he ended his seven year parliamentary career in the manner of all Greek tragedies – in failure.

However, he said the public will never know what stupid decisions he was able to stop.