Tim Paine. (Source: Twitter)

Tim Paine has resigned as Australia’s Test captain after it emerges that he is being investigated for sexting scandal.

Reports claimed a Cricket Tasmania female employee was offended by “Mr Paine’s sexually explicit, unwelcome and unsolicited photograph of his genitals in addition to the graphic sexual comments.”

“It’s an incredibly difficult decision but the right one for me, my family and cricket,” Paine said.

“Although exonerated I deeply regretted in incident at a time and I do so today. I spoke to my wife and family at a time and enormously grateful for their forgiveness and support,” he added.

“Tim felt it was in the best interests of his family and Australian cricket to take this decision to step down as captain,” CA board chairman Richard Freudenstein said. “While the board acknowledges an investigation cleared Tim of any breach of the code of conduct regarding this matter some years ago, we respect his decision.

“CA does not condone this type of language or behavior. Despite the mistake he made, Tim has been an exceptional leader since his appointment and the board thanks him for his distinguished service.”

Cricket Australia said Paine “will continue to be available for selection in the test team through the Ashes summer.”