WASHINGTON (CNN) -

Chelsea Clinton, who joined NBC as a special correspondent in 2011, is stepping down from the news network.

Bill and Hillary Clinton's daughter announced her departure in a Facebook post, hanging the decision on her desire to continue working for the Clinton Foundation and the fact that she and her husband Marc Mezvinsky will be welcoming their first child this fall.

"I am profoundly grateful to NBC viewers who responded to the stories I shared, providing funds to help expand the reach of those programs and who encouraged their schools' principals, their mayors and local activists to think about how to build similarly transformative programs in their own communities," Clinton wrote. "It's been a privilege to be part of the NBC Family."

While at NBC, Clinton worked on stories for "Rock Center with Brian Williams," which was canceled in 2013, and "NBC Nightly News."

Her stories were largely service-focused, including features on a boxing gym that offers tutoring in Detroit; a diner in Albuquerque, New Mexico, that helps kids with homework and feeds them; and an education program in Pine Bluff, Arkansas, that deals with hunger and education in the region.

Clinton's role with NBC was reportedly lucrative. Politico reported earlier this year that the former first daughter was paid $600,000 for the first few years of her contract with the network.

To much ballyhoo, Chelsea Clinton announced she was pregnant in April. With her mother, Hillary Clinton, considering a run at the presidency in 2016, a considerable amount of attention has focused on Chelsea Clinton's pregnancy.

On Thursday in San Francisco, Hillary Clinton was asked whether the baby would be a boy or a girl.

"I don't know because my daughter and her husband don't want to know," Clinton said. "So they have tried very hard not to find out. When they do the ultrasound I think they have their hands over their ears and their eyes."

Clinton added: "We are going to be surprised like the old days and meet this new arrival and welcome him or her into the world."