Twitter communications chief Natalie Kerris leaves the company

Twitter headquarters in San Francisco.
Adam Jeffery | CNBC

Twitter's head of communications has left, just months after joining the company, Twitter confirmed on Monday.

Natalie Kerris, who joined Twitter in February, had left the company and Chief Marketing Officer Leslie Berland would assume responsibility for communications, the spokesperson confirmed.

"During her time leading communications at Twitter, Natalie helped us share the Twitter story with the world. We are grateful for her energy and enthusiasm and the impact she's had, even in this short time. We wish her all the best," the spokesperson said in a statement.

Twitter has had a rocky few months.

The company has struggled to attract advertisers to its platforms, losing ground to the likes of Facebook and Snapchat.

Sales in the three months through June missed estimates and the company's sales guidance for the third quarter also missed analysts' forecasts.

The most promising stocks this earnings season

The company has also found itself under scrutiny over its handling of cases of online harassment. Twitter banned controversial journalist Milo Yiannopoulos for allegedly tweeting abusive comments towards specific users and inciting others to do so.

Star of the rebooted "Ghostbusters" movie, Leslie Jones, who was one of Yiannopoulos's targets, said she was quitting Twitter after receiving abuse.

Tweet 1

Tweet 2

BuzzFeed News had earlier reported Kerris' departure.

Follow CNBC International on Twitter and Facebook.