A three-year-old tweet comes back to haunt Michael Cohen

Twitter reacts after Michael Cohen was sentenced to three years in prison Wednesday. Twitter reacts after Michael Cohen was sentenced to three years in prison Wednesday. Photo: Screenshot Via Twitter Photo: Screenshot Via Twitter Image 1 of / 37 Caption Close A three-year-old tweet comes back to haunt Michael Cohen 1 / 37 Back to Gallery

When it comes to Donald Trump, they say there's a tweet for every occasion. Apparently that's true for his lawyer, too.

The Twitterverse loves to dredge up old tweets from the president's past, before he was running for office and when he often expressed opinions that contradict his current platforms. After Michael Cohen, Trump's former lawyer and "fixer," was sentenced to three years in federal prison Wednesday, he got a taste of the same treatment.

"@HillaryClinton when you go to prison for defrauding America and perjury, your room and board will be free!" reads a tweet from 2015 that began recirculating online after Cohen's sentence was delivered.

The Washington Post reports Cohen deleted the tweet in August after pleading guilty to several crimes.

Many were quick to point out the irony given Cohen was convicted for evading $1.4 million in taxes related to his personal businesses, breaking campaign finance laws and lying to Congress.

See some of the Twitter reactions in the gallery above.

Cohen testified in court that is was "blind loyalty" to Trump that drove him to commit the crimes.

MORE: Ex-Trump lawyer Cohen gets 3 years in prison

U.S. District Judge William H. Pauley III said Cohen deserved modest credit for his decision over the summer to admit guilt and cooperate in the federal investigation of efforts by Russians to influence the 2016 presidential election, but his assistance "does not wipe the slate clean."

Sentencing guidelines called for around four to five years behind bars, and the government asked in court papers that Cohen be given only a slight break. He was ordered to surrender March 6 and left court without comment.

Read Alix Martichoux's latest stories and send her news tips at amartichoux@sfchronicle.com.

Start receiving breaking news emails on wildfires, civil emergencies, riots, national breaking news, Amber Alerts, weather emergencies, and other critical events with the SFGATE breaking news email. Click here to make sure you get the news.