“Today is my last day at CNN,” Harwood said in a tweet posted Friday. He said he was proud of the work and called himself “fortunate to have served the best in American media,” including stints at St. Petersburg Times, Wall Street Journal, NBC and CNN. “Can’t wait to find out what’s next,” he said on Twitter. “We appreciate John’s work covering the White House and wish him the best,” CNN said in a statement. Last month, CNN canceled its weekly media analysis show “Reliable Sources” after three decades on the air, and host Brian Stelter left the network. The show appeared to be an early casualty of CNN’s effort to be less politically confrontational — a priority of Chris Licht, who became the network’s chairman and CEO in the spring, and his boss, David Zaslav, head of parent company Warner Bros. Discovery. Harwood came to CNN in 2020 from CNBC, where he was the chief White House correspondent. About two hours before Harwood announced he was leaving CNN, he was on air discussing President Joe Biden’s speech Thursday, in which Biden called former President Donald Trump an extremist threat to the nation. Harwood said that “Biden’s main point in this political speech about the threat to democracy is true. Now this is something that is not easy for us as journalists to say. We have been brought up to believe that there are two different political parties with different views and we do not take sides in honest disagreements between them. “But we don’t talk about that. These are not honest disagreements. The Republican party is currently being run by a dishonest demagogue,” Harwood said in part. Our Morning Update and Afternoon Update newsletters are written by Globe editors, giving you a concise summary of the day’s most important headlines. Sign up today.