The head of operations at Meta will be leaving later this year.

Since becoming COO in 2008, Sandberg has been CEO Mark Zuckerberg's right-hand-woman and will remain on the company's board of directors.

When I took this job in 2008, I hoped I would be there for five years, according to a Facebook post announcing the news.

Fourteen years later, it is time for me to write the next chapter of my life. I don't know what the future will bring, I have learned no one ever is. It will include more focus on my foundation and philanthropic work, which is more important to me than ever given how critical this moment is for women.

The decision to leave was difficult, and her role was not the most manageable job anyone has ever had, she said in an interview.

The company said that his role would not look like the one that Sandberg is vacating.

I don't plan to replace her role in the structure. I think Meta has reached a point where it makes sense for our product and business groups to be more closely integrated, rather than having all the business and operations functions organized separately from our products.

During the past decade, there have been many scandals at Facebook. She testified during congressional hearings defending the social network's role in the Cambridge Analytica scandal.

She has advocated for the rights of women in the workplace. She publishedLean In, a best-selling book that includes advice for women seeking to establish themselves in the workforce and advance their careers.

Meta's shares fell 2.5% on Wednesday.