Mark Zuckerberg, who identified as an atheist for years, said in a Facebook post that he now believes "religion is very important."
On Christmas Day, the Facebook founder posted a status update indicating he was celebrating Christmas.
“Merry Christmas and Happy Hanukkah from Priscilla, Max, Beast and me,” he wrote. "Seeing the moments of joy and family shared on Facebook today is one of my favorite things about our community."
That's when one commenter asked, "But aren't you [an] atheist?"
"No. I was raised Jewish and then I went through a period where I questioned things, but now I believe religion is very important," Zuckerberg replied.
He didn't go into any further detail about what he believes, but Zuckerberg and his wife, Priscilla Chan, have frequently discussed their moral values, according to the Washington Post.
Last year, in a letter to their daughter, Max, the couple pledged to donate 99 percent of their Facebook shares to "advancing human potential and promoting equality" through the Chan-Zuckerberg Initiative.
Earlier this year, the couple also met with Pope Francis.
"Together they spoke about how to use communications technology to alleviate poverty, encourage a culture of encounter, and to communicate a message of hope, especially to the most disadvantaged," the Vatican Press Office said in a statement.