President Trump’s accountants were slapped with a subpoena for eight years of his personal and corporate tax returns, law-enforcement sources told The Post on Monday.

The subpoena was served last month on Mazars USA by the Manhattan District Attorney’s Office, sources said.

The demand for Trump’s tax records is part of a probe into the $130,000 hush-money payment made to porn star Stormy Daniels by then-Trump lawyer Michael Cohen ahead of the 2016 election, according to the New York Times, which first reported on the subpoena.

Daniels claims she had a one-night affair with Trump in 2006, which Trump denies.

The range of the Mazars subpoena shows that Manhattan DA Cyrus Vance Jr. is also investigating other matters, a source said.

“If you’re looking at eight years, it’s definitely more than just Stormy Daniels. They’re looking beyond that,” the source said.

Trump lawyer Jay Sekulow referred The Post to Trump Organization lawyer Marc Mukasey, who said, “We are evaluating and will respond as is appropriate.”

Last month, Mukasey accused Manhattan DA Cyrus Vance Jr. of attempting a “political hit job” against the president following a Times report that revealed that Vance had subpoenaed the Trump Organization over Cohen’s payment to Daniels.

Cohen is serving a three-year federal prison term for crimes that include violating campaign-finance law.

Vance launched his probe after federal prosecutors said they had wrapped up their investigation of the Daniels payoff.

Last year, Trump lawyer Rudy Giuliani said Trump reimbursed Cohen but didn’t know about the deal with Daniels at the time.

Vance spokesman Danny Frost declined to comment.

Mazars didn’t respond to phone and email messages.