FILE - This Sept. 5, 2017 file photo shows incumbent California Secretary of State Alex Padilla in Sacramento, Calif. California will appeal a federal judge's ruling Tuesday, Oct. 1, 2019, that temporarily blocks a law aimed at forcing President Donald Trump to release his personal income tax returns. Secretary of State Padilla said he will appeal the ruling. He said the law is "fundamental to preserving and protecting American democracy. (AP Photo/Rich Pedroncelli, File)

FILE - This Sept. 5, 2017 file photo shows incumbent California Secretary of State Alex Padilla in Sacramento, Calif. California will appeal a federal judge's ruling Tuesday, Oct. 1, 2019, that temporarily blocks a law aimed at forcing President Donald Trump to release his personal income tax returns. Secretary of State Padilla said he will appeal the ruling. He said the law is "fundamental to preserving and protecting American democracy. (AP Photo/Rich Pedroncelli, File)

SACRAMENTO, Calif. (AP) — A U.S. judge on Tuesday temporarily blocked a California law aimed at forcing President Donald Trump to release his personal income tax returns in order to appear on the 2020 primary ballot.

U.S. District Judge Morrison C. England Jr. issued a written opinion saying the law likely violates the U.S. Constitution. He had announced last month he planned to block the law.

The law requires candidates for president or governor to file copies of their personal income tax returns dating back five years with the California secretary of state’s office. If they refuse, they could not appear on the state’s primary ballot. The law would not have applied to general elections.

ADVERTISEMENT

Democratic Gov. Gavin Newsom said he signed the law because California has a “special responsibility” to hold candidates to high ethical standards. The Trump campaign sued, arguing the law seeks to add another qualification for running for president, something state governments don’t have the authority to do.

In his 24-page ruling, Morrison wrote the state’s concerns are “both legitimate and understandable,” highlighting that candidates have offered “unnecessary and irrelevant excuses for shielding the public from such information.”

“It is not the job of the courts, however, to decide whether a tax return disclosure requirement is good policy or makes political sense,” wrote Morrison, who was appointed by former Republican President George W. Bush. “Instead, it is the court’s job to make sure the Constitution wins.”

California Secretary of State Alex Padilla said he will appeal the ruling, asserting “this law is fundamental to preserving and protecting American democracy.”

Morrison said the law violates Trump’s First Amendment right of associating with voters who share his political beliefs. He also noted the California Legislature is controlled by Democrats, who passed a law targeting a Republican president.

“The dangerous precedent set by this act, allowing the controlling party in any state’s legislature to add substantive requirements as a precondition to qualifying for the state’s presidential primary ballot, should concern all candidates alike,” he wrote.

California Republican Party chairwoman Jessica Millan Patterson called the ruling a victory for voters and their ability to vote for the candidate of their choice.

“This decision rightfully stops the Democrats’ petty politics and their efforts to disenfranchise millions of California voters and suppress Republican voter turnout,” Patterson said in a news release.

Democratic Sen. Mike McGuire, the author of the law, said “the judge got it wrong.”

“Some of the brightest constitutional minds in the nation have been very clear that this law will withstand a constitutional test,” he said.

The deadline to file tax returns for California’s March 3 presidential primary would be Nov. 26.