Saudi Arabia deployed an online army to harass dissident journalist Jamal Khashoggi and other critics of the kingdom on Twitter, the New York Times reported on Saturday.

The efforts to attack Khashoggi and other influential Saudis, and sway public opinion against them on the social media service, included a so-called troll farm based in Riyadh and a suspected spy within Twitter that the kingdom utilized to monitor user accounts, the New York Times reported.

Twitter declined to comment. A representative from the Saudi embassy in Washington did not respond to a request for comment.