Washington (CNN) President Donald Trump said Monday that he's donating part of his annual presidential salary to the Department of Homeland Security.

Trump posted a photo on Twitter of a check for $100,000 -- one quarter of his annual $400,000 salary -- made out to DHS.

"While the press doesn't like writing about it, nor do I need them to, I donate my yearly Presidential salary of $400,000.00 to different agencies throughout the year, this to Homeland Security. If I didn't do it there would be hell to pay from the FAKE NEWS MEDIA!" the President tweeted.

While the press doesn't like writing about it, nor do I need them to, I donate my yearly Presidential salary of $400,000.00 to different agencies throughout the year, this to Homeland Security. If I didn't do it there would be hell to pay from the FAKE NEWS MEDIA! pic.twitter.com/xqIGUOwh4x — Donald J. Trump (@realDonaldTrump) March 18, 2019

Although Trump pledged to donate his salary to DHS, federal regulations prohibit agencies from accepting donated funds unless Congress grants authority to the agency to accept the donation. Without congressional authorization, donated money is deposited into the general fund of the Department of Treasury.

Read More