The New York Times is demoting its deputy Washington editor, Jonathan Weisman, over a pair of controversial tweets, removing him as a congressional editor and saying he will no longer be active on social media.

"Jonathan Weisman met with [Times Executive Editor Dean Baquet] today and apologized for his recent serious lapses in judgment. As a consequence of his actions, he has been demoted and will no longer be overseeing the team that covers Congress or be active on social media. We don't typically discuss personnel matters but we're doing so in this instance with Jonathan's knowledge," a Times spokesperson said in a statement to The Hill.

ADVERTISEMENT

In July, Weisman deleted a tweet that outraged many in which he wrote that saying Democratic Reps. Rashida TlaibRashida Harbi TlaibDemocrats brush off calls for Biden to play hardball on Cabinet picks GOP congresswoman-elect wants to form Republican 'Squad' called 'The Force' OVERNIGHT ENERGY: Biden eyes new leadership at troubled public lands agency | House progressives tout their growing numbers in the chamber at climate rally | Trump administration pushes for rollback of Arctic offshore drilling regulations MORE (Mich.) and Ilhan OmarIlhan OmarGOP congresswoman-elect wants to form Republican 'Squad' called 'The Force' OVERNIGHT ENERGY: Biden eyes new leadership at troubled public lands agency | House progressives tout their growing numbers in the chamber at climate rally | Trump administration pushes for rollback of Arctic offshore drilling regulations House progressives tout their growing numbers in the chamber at climate rally MORE were from the Midwest was "like saying @RepLloydDoggett (D-Austin) is from Texas or @repjohnlewis (D-Atlanta) is from the Deep South.” 

Weisman was accused of racism over the tweets, and Rep. Alexandria Ocasio-CortezAlexandria Ocasio-CortezBiden names John Kerry as 'climate czar' in new administration Maloney vows to overhaul a House Democratic campaign machine 'stuck in the past' Ocasio-Cortez defends Harry Styles wearing dress on Vogue cover: 'It looks wonderful' MORE (D-N.Y.) retweeted the post and said “They literally are, &this comment is what erasure looks like." Omar also responded to the tweet, saying, "this will certainly be news to people of Minnesota’s 5th District!" 

Weisman also faced criticism last week after saying that the organization Justice Democrats was backing a primary challenger, Morgan Harper, against Rep. Joyce BeattyJoyce Birdson BeattyTrump's controversial diversity order expected to see swift reversal under Biden Companies start responding to pressure to bolster minority representation Democratic senators unveil bill to ban discrimination in financial services industry MORE (D-Ohio), who is black. Harper responded that she is also African American.

Author Roxane Gay accused Weisman of emailing her after she mocked the tweets, telling her that she owed him an “enormous apology” for accusing him of racism and incompetence.

Marc Tracy, a media reporter for the newspaper, said Weisman said he accepted Baquet’s judgement in an interview.

Updated: 5:55 p.m.