Updated at 9:34 p.m. ET Christopher Krebs, the Department of Homeland Security director who had spearheaded a campaign to counter rumors about voter fraud, has been fired, President Trump tweeted on Tuesday. Trump, in two misleading tweets about the security of the U.S. election, said Krebs' termination was "effective immediately." In response, Krebs tweeted , "Honored to serve. We did it right. Defend Today, Secure [Tomorrow]." Trump lost the presidential election to President-elect Joe Biden in both the popular vote and electoral vote. Trump had for weeks prior to the election erroneously railed against mail-in voting as being ripe for fraud. The president had encouraged his supporters to vote in person on Nov. 3 — he later complained about the number of absentee ballots that supported his opponent. Krebs' firing came after his agency, the Cybersecurity and Infrastructure Security Agency, last week released a statement calling the 2020 election "the most secure in American history."