President Donald Trump said Monday that his pro-Trump super PAC, MAGA Inc., will cover the costs of a series of promotional television ads that had previously been funded with taxpayer dollars.

The announcement came in a post on his social media platform after the ads drew bipartisan criticism for appearing to violate federal laws against using government funds for propaganda or political purposes. Trump wrote that he had decided to pay for the "Patriotic Ads" himself with money raised for the PAC.

At least an estimated $10.1 million in taxpayer dollars have already been spent on the ads, according to the political ad-tracking firm AdImpact. The spots were produced under a $20 million contract awarded through the Department of Homeland Security and have aired on major broadcast and cable networks, including during NFL and college football games.

A White House official stated that MAGA Inc. will pay for the ads moving forward. The official described the spots as public service announcements similar to those used by prior administrations.

Trump's decision follows questions from lawmakers in both parties about the legality of the campaign-style promotions, which feature the president and end with the disclaimer "Paid for by the U.S. Government." Some Republican senators expressed discomfort with using public funds for the effort.

It remains unclear whether the PAC or Trump will reimburse the government for the ads that have already aired. The White House did not immediately address that issue in response to inquiries.

The ads include titles such as "King of the Jungle" and promote Trump and administration policies. They were created by the agency LMD under the government contract.