Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Supporters of President Donald Trump crowed Tuesday night that disclosure of part of his 2005 federal income tax return proved what the president has said all along: that he pays his taxes to the tune of millions of dollars.

The White House confirmed that Trump paid $38 million in federal income tax on more than $150 million in income in 2005 after MSNBC's "The Rachel Maddow Show" said it would release the details.

Donald Trump Jr., the president's son, thanked Maddow on Twitter for proving that his father did pay his taxes as required.

Thank you Rachel Maddow for proving to your #Trump hating followers how successful @realDonaldTrump is & that he paid $40mm in taxes! #Taxes — Donald Trump Jr. (@DonaldJTrumpJr) March 15, 2017

And Fox News host Sean Hannity derided the "scandal" of the public's learning that Trump "took legal deductions!"

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

@NBCNews OMG @realDonaldTrump only paid $38 Million dollars in federal taxes in 2005. And he took legal deductions! What a scandal! — Sean Hannity (@seanhannity) March 15, 2017

By contrast, Zac Petkanas, a senior adviser to the Democratic National Committee, alleged that the White House continues to withhold the rest of Trump's taxes "to hide what's in them such as financial connections with Russian oligarchs and the Kremlin."

Donald Trump Jr., the president's son, thanked MSNBC for proving that his father pays his taxes, as he has always said. NBC News

"If they can release some of the information, they can release all of the information," Petkanas said in a statement.

Other commentators and political observers were underwhelmed by what they learned.

Brian Fallon, who was press secretary for the presidential campaign of former Secretary of State Hillary Clinton, called MSNBC's report a distraction, saying Democrats' focus should remain on Republicans' attempts to repeal and replace the Affordable Care Act.

Dems should return focus to Trumpcare tomorrow & the millions it will leave uninsured, not get distracted by two pages from '05 tax return — Brian Fallon (@brianefallon) March 15, 2017

Pete Buttigieg, the Democratic mayor of South Bend, Indiana, sounded a similar call, saying on Twitter that he was only "slightly interested in Trump['s] tax returns."

Slightly interested in Trump tax returns. Enormously interested in the attempt to take away health care from millions of American families. — Pete Buttigieg (@PeteButtigieg) March 15, 2017

The White House alleged in a statement Tuesday night that Maddow and David Cay Johnston of DCReport.org violated federal law by disclosing two pages from Trump's 2005 return. In an on-air statement, Maddow said she was protected by the First Amendment.

The relevant federal statute, 26 USC 7213 of the U.S. Code, makes it a crime for government officials and certain private persons with legal access to release or distribute individuals' tax returns.

For example, an IRS official or accountant could be charged for releasing another individual's tax returns without the person's consent.

While the section says it's also illegal for anyone receiving such information in an "unauthorized" manner to print or publish it, the law hasn't typically been used against journalists, who regularly publish or report on materials whose underlying release is unauthorized, such as classified security information.