SAN FRANCISCO — Facebook announced that it will ban former president Trump from its site for two years, part of its response to a number of policy recommendations from its Oversight Board.

It has been more than five months since Donald Trump was last allowed to post on Facebook, after CEO Mark Zuckerberg said he was banned “indefinitely.” The Facebook Oversight Board, an outside group funded and created by Facebook to review the social media giant’s thorniest policy choices, decided to uphold the decision to suspend Trump. The board announced in May that Facebook needed to decide within six months how long Trump’s suspension would last, or if it would be permanent.

Facebook committed replying to the board’s recommendations within 30 days, which included asking the company to conduct a thorough review of Facebook’s role in the Jan 6. Capitol insurrection and adopting more transparent policies around public figures’ accounts. Facebook ultimately declined to release such a report.

The company’s decisions around how it handles political leaders are being closely watched by politicians around the world, as well as social media researchers and other tech companies that similarly banned Trump in January.

Facebook was the first major social media platform to suspend Trump indefinitely in the wake of the Jan. 6 attack on the Capitol, and its decision was met with praise by many critics who believed the company had let him dodge its normal rules and policies. But others decried the decision as “censorship” and said it set a dangerous precedent for how world leaders communicate online.

“We know that any penalty we apply — or choose not to apply — will be controversial,” said Nick Clegg, Facebook’s vice president of global affairs, in a post announcing the two-year ban. “There are many people who believe it was not appropriate for a private company like Facebook to suspend an outgoing President from its platform, and many others who believe Mr. Trump should have immediately been banned for life."

Facebook, the Oversight Board and Trump have periodically outlined their thinking in blog posts and news releases and on social media. Here’s everything you need to know about the board and its role on the ban.

Facebook’s Oversight Board upheld the ban on former president Donald Trump, a test case of social media companies’ power to moderate inflammatory speech. (Jonathan Baran/The Washington Post)