Michael Cohen, U.S. President Donald Trump's former personal lawyer, said on Thursday he paid a firm to manipulate online polling data "at the direction of and for the sole benefit of" Trump.

The Wall Street Journal reported that Cohen had paid the data firm RedFinch Solutions to manipulate two public opinion polls in favor of Trump before the 2016 presidential campaign.

"As for the @WSJ article on poll rigging," Cohen wrote on Twitter on Thursday, "what I did was at the direction of and for the sole benefit of @realDonaldTrump @POTUS. I truly regret my blind loyalty to a man who doesn't deserve it."