America’s most famous socialist is now a millionaire.

Sen. Bernie Sanders said Tuesday that he would release 10 years of his tax returns by Tax Day on Monday — and confirmed that he was now one of the millionaires he reviled throughout his political career.

“I wrote a best-selling book. If you write a best-selling book, you can be a millionaire, too,” a defensive Sanders said during an interview with The New York Times.

“April 15 is coming. We wanted to release 10 years of tax returns. April 15, 2019, will be the 10th year, so I think you will see them,” he said.

He also said President Trump — who has refused to make his tax returns public — should do the same.

“On the day in the very immediate future, certainly before April 15, we release ours, I hope that Donald Trump will do exactly the same. We are going to release 10 years of our tax returns, and we hope that on that day Donald Trump will do the same,” the Vermont senator said.

But, he predicted, his would be dull in comparison to the president’s.

“Not being a billionaire, not having investments in Saudi Arabia, wherever he has investments, all over the world, mine will be a little bit more boring,” Sanders said.