(CNN) The Department of Labor said Wednesday that it was reinstating an official who had been wrongly accused of anti-Semitism by Bloomberg Law based on sarcastic Facebook posts he had written in 2016.

The agency previously had accepted the resignation of the official, Leif Olson, after Bloomberg Law requested comment on the old sarcastic Facebook posts he had written.

But the Department of Labor said on Wednesday that after a "thorough reexamination of the available information and upon reflection," the agency had concluded that Olson "satisfactorily explained the tone of the content of his sarcastic social media posts."

The Facebook posts Olson had written in 2016 were dripping with sarcasm and aimed at mocking those who would employ anti-Semitic rhetoric.

But the sarcasm was apparently lost on Bloomberg Law. The outlet characterized Olson's posts in a Tuesday story as "anti-Semitic."

Read More