Twitter on Sunday restored an account run by The New York Times after blocking it for nearly 24 hours. The social media company, which said the publication had violated its rules against hateful conduct, later admitted that it was an error.

The account of the publication’s international reporting team, @nytimesworld, had shared an article about Canadian Prime Minister Justin Trudeau. The article talked about Trudeau’s apology to the people of a Canadian province who were compelled to send their children abroad to attend boarding schools, separating them from their families.

The post read: “Left out of an apology a decade ago, native people in Newfoundland and Labrador get an apology from Justin Trudeau.”

On Saturday afternoon, Twitter blocked the account for “violating our rules against hateful conduct”.

Image Credit: The New York Times

On Sunday afternoon, The New York Times said the social media website had restored the account, saying: “After reviewing the account, it appears that one of our agents made an error. We have flagged this issue so that similar mistakes are not made going forward.”

Earlier in November, United States President Donald Trump’s personal account was deactivated for around 11 minutes. Twitter had said that a customer support employee had deactivated the president’s account on his last day in office.