A+E Networks president of global communications strategy Alyssa Mastromonaco is exiting the company, The Post has learned.

A+E confirmed the news Tuesday.

Mastromonaco was the White House deputy chief of staff for operations under President Barack Obama before serving as chief operating officer at Vice Media.

After a two-year stint at the Brooklyn-based media company, Mastromonaco left for A+E, which owns a 15 percent stake in Vice.

A+E owns the Lifetime and History channels in addition to its flagship A&E channel.

At the time, Mastromonaco was weary of Vice’s bro-culture, according to a source, and her move to A+E was a way for her to help develop the brand’s female-focused voice under then-president and CEO Nancy Dubuc.

Dubuc, however, exited A+E in March to grab the reins as Vice’s chief executive. A+E’s board, along with interim chairwoman Abbe Raven, are currently searching for Dubuc’s replacement.

“I’ve had a hell of a time at A+E and am so grateful for my friends here, but now is the moment for me to get back in the fight,” Mastromonaco told The Post. “I believe these are historic times. And I’m ready to help make history again. There’s a lot of work to do. But I’m in it to win it. See you on the front lines.”

Mastromonaco will be leaving to finish her book called “Gut Feelings,” due out later this year, and to work on reproductive rights issues.