Two Republican lawmakers said they were mistakenly put on a legal brief filed ahead of a case on gerrymandering that will be argued before the Supreme Court Oct. 3.

Reps. Mark Meadows and Walter Jones, both of North Carolina, were listed among 36 current and former lawmakers in the brief urging the Justices to curb partisan gerrymandering, The Hill reported Saturday.

Meadows, who chairs the House Freedom Caucus, was quoted three times in the brief, but spokespeople for the two GOP congressmen said neither lawmaker was involved in the document. The offices of both congressmen said their names no longer appeared on the brief.

Meadows spokesman Ben Williamson said the congressman had agreed to review it, "but never intended to formally sign on." He said Meadows' name had been "added in error," and Jones spokeswoman Allison Tucker called it a "misunderstanding."

The outcome of the Supreme Court case could change future election maps, the article explained.