President Trump on Wednesday warned House Democrats not to “waste Taxpayer Money” on investigations of his administration, saying Senate Republicans would respond with probes into leaks of classified information presumably by Democrats.

The president’s comment, in one of a series of post-election tweets, comes as Democrats prepared to take over control of the House. They are poised to scrutinize Trump administration policies on immigration, education and health care, and to examine his personal finances and potential ties to Russia.

“If the Democrats think they are going to waste Taxpayer Money investigating us at the House level, then we will likewise be forced to consider investigating them for all of the leaks of Classified Information, and much else, at the Senate level,” Trump said on Twitter. “Two can play that game!”

If the Democrats think they are going to waste Taxpayer Money investigating us at the House level, then we will likewise be forced to consider investigating them for all of the leaks of Classified Information, and much else, at the Senate level. Two can play that game! — Donald J. Trump (@realDonaldTrump) November 7, 2018

While Republicans lost the House on Tuesday, they made gains in the Senate.

Trump has previously alleged that Justice Department officials who served in the Obama administration, including former FBI director James B. Comey, leaked information intended to undercut him.

In a separate tweet Wednesday, Trump also warned “pundits and talking heads” against not giving him “proper credit” for the performance of Republicans on Tuesday’s ballot.