Bangladesh ended its ban on Facebook today after the social networking company agreed to block access to the images that the government deemed offensive, according to the AFP.

Depending on which region's news outlets you trust, the ban was imposed either because of "obnoxious" images of prominent Bangladeshi politicians, a user-hosted Facebook group that encouraged members to participate in a competition to draw the Prophet Muhammad, or both.

Many Muslims deem any visual depiction of Muhammad to be blasphemous.

As we predicted, Facebook blocked access to the controversial images for users within Bangladesh, but they remain accessible for users in other countries — except Pakistan, which had also blocked Facebook access but restored it earlier this week for the same reason. One man was arrested in Bangladesh over the political cartoons, but the Muhammad contest group originated outside of Bangladesh.

Bangladesh's one million Facebook users will be relieved to have access to the majority of the social network restored; protests were organized after it was first blocked.

For more social media coverage, follow Mashable Social Media on Twitter or become a fan on Facebook