A federal appeals court has ruled against Donald Trump for a second time this month in a lawsuit filed by police officers over the Jan. 6 insurrection.

The former president had argued that he should be immune from the lawsuit because his conduct should be considered part of his official duties and "constituted speech on matters of public concern."

"Such speech was, in his view, invariably an official function,'" the three-judge panel wrote. "We rejected that argument."

The 11th District Court of Appeals cited a previous U.S. Supreme Court ruling that presidential immunity extended "no further than the outer perimeter of a President's official responsibility."

ALSO READ: Trump’s Iowa Faith Leader Coalition includes bigots, advocate of killing Obama

"Although a President often acts officially when speaking on matters of public concern," the judges wrote, "he does not always do so."

The ruling covers several lawsuits brought by Capitol police officers and Democratic lawmakers seeking civil damages from Trump related to Jan. 6 riot.