THE sexual harassment case against former federal parliamentary speaker Peter Slipper has been dismissed by a Federal Court judge.

In his judgment handed down this morning, Justice Steven Rares said the sexual harassment case taken by Mr Slipper's former staffer James Ashby was taken "for the predominant purpose of causing political damage to Mr Slipper".

Justice Rares found Mr Ashby acted in combination with fellow staffer Karen Doane and former federal minister Mal Brough to "advance the interests of the LNP and Mr Brough".

"I have reached the firm conclusion that Mr Ashby's predominant purpose for bringing these proceedings was to pursue a political attack against Mr Slipper and not to vindicate any legal claim he may have," Justice Rares said.

"Mr Ashby began planning the attack at least by the beginning of February 2012," he added.

He said he was satisfied the proceedings were an abuse of the process of court.

"To allow these proceedings to remain in the court would bring the administration of justice into disrepute among right-thinking people and would be manifestly unfair to Mr Slipper," Justice Rares said.

Mr Slipper had sought to have the case, taken against him by former staffer James Ashby, thrown out as an abuse of the process of court.

The court had heard allegations Mr Slipper "cultivated a close and flirtatious relationship" with his employee and sent him several sexually explicit text messages.

Other allegations include that Mr Slipper stroked Mr Ashby's arm, moaned in a "sexual manner" when he gave him a massage, and showered with the door open.

Mr Slipper denied the claims.

Representing himself in court in October, Mr Slipper initially asked that the case against him be thrown out in light of the settlement between the Commonwealth and Mr Ashby.

At that hearing, Mr Slipper became visibly distraught as he described how he thought Mr Ashby was his friend until he took the claim against him.

"This case is seeking to hurt my political career, hurt me financially . . . to destroy the government and in addition, to destroy my marriage," Mr Slipper said then, adding he believed Mr Ashby had been "placed" in his office by his political enemies.

Those claims were dismissed as "baseless" by Mr Ashby's lawyers.

The Commonwealth settled its case with Mr Ashby for $50,000 and a pledge to provide training for MPs and parliamentary staff to prevent sexual harassment.