NEW YORK (AP) — Gwen Ifill, co-anchor of PBS’ “NewsHour” with Judy Woodruff and a veteran journalist who moderated two vice presidential debates, died Monday of cancer, the network said.

She was 61.

A former reporter for The New York Times and The Washington Post, Ifill switched to television in the 1990s and covered politics and Congress for NBC News. She moved to PBS in 1999 as host of “Washington Week” and also worked for the nightly “NewsHour” program. She and Woodruff were named co-anchors in 2013.

She moderated vice presidential debates in 2004 and 2008 and authored the book, “The Breakthrough: Politics and Race in the Age of Obama.”

Ifill took a leave from “NewsHour” for a month this spring for health reasons, keeping details of her illness private. Her health failing, she left “NewsHour” again shortly before an election night that she and Woodruff would have covered together.

“Gwen was a standard bearer for courage, fairness and integrity in an industry going through seismic change,” said Sara Just, PBS “NewsHour” executive producer. “She was a mentor to so many across the industry and her professionalism was respected across the political spectrum. She was a journalist’s journalist and set an example for all around her.”

NBC News’ Pete Williams, a former colleague, struggled to keep his composure Monday when announcing Ifill’s death on MSNBC.

“She had so many awards in her office you could barely see out the window,” Williams said.

Shortly before moderating the debate between Joe Biden and Sarah Palin in 2008, Ifill brushed aside concerns that she might not be fair because she was writing a book about Obama.

“I’ve got a pretty long track record covering politics and news, so I’m not particularly worried that one-day blog chatter is going to destroy my reputation,” she told The Associated Press then.

Ifill, who was black, also questioned why people would assume her book would be favorable toward Obama. “Do you think they made the same assumptions about Lou Cannon (who is white) when he wrote his book about Reagan?” she said.