A small town in Kansas has become a battleground over the First Amendment, after the local police force and county sheriff’s deputies raided the office of the Marion County Record.

Raids of news organizations are exceedingly rare in the United States, with its long history of legal protections for journalists. At the Record, a family-owned paper with a circulation of about 4,000, police seized computers, servers and cellphones of reporters and editors. They also searched the home of the publication’s owner and semiretired editor as well as the home of a member of the City Council.

The searches, conducted Friday, appeared to be linked to an investigation into how a document containing information about a local restaurateur found its way to the local newspaper — and whether the restaurant owner’s privacy was violated in the process. The editor of the newspaper said the raids may have had more to do with tensions between the paper and officials in Marion, a town of about 2,000 north of Wichita, over prior coverage.

“There’s a lot of healthy tension between the government and newspapers, but this?” Emily Bradbury, executive director of the Kansas Press Association, said in an interview about the raid in Marion. She warned that the raid was a dangerous attack on press freedom in the country.

“This is not right, this is wrong, this cannot be allowed to stand,” she said.

The newspaper’s owner and editor, Eric Meyer, said in an interview that the Record had done nothing wrong. The newspaper did not publish an article about the government record, though Meyer said it had received a copy from a confidential source and one of its reporters had verified its authenticity using state records available online.

In an email, Marion Police Chief Gideon Cody defended the raid, which was earlier reported online by the Marion County Record and by Kansas Reflector, a nonprofit news organization.

“I believe when the rest of the story is available to the public, the judicial system that is being questioned will be vindicated,” Cody said. He declined to discuss the investigation in detail.

On Sunday, more than 30 news organizations and press freedom advocates, including The New York Times, The Washington Post and Dow Jones, publisher of The Wall Street Journal, signed a letter from the Reporters Committee for Freedom of the Press to Cody condemning the raid.

The Marion County Record is uncommonly aggressive for its size. Meyer said the newspaper, which has seven employees, has stoked the ire of some local leaders for its vigorous reporting on Marion County officials, including asking questions about Cody’s employment history.

The paper is overseen by Meyer, who is 69 and has had a long career in journalism, working as a reporter for the Milwaukee Journal and a professor at the University of Illinois. He also has a family connection to the Marion County Record: His father, Bill, worked there for half a century beginning in 1948, rising to be its top editor.

In 1998, his family bought the newspaper and two others nearby — the Hillsboro Star-Journal and Peabody Gazette-Bulletin — from the previous publisher, the Hoch family, who had owned them for 124 years.

The dispute over the government record that led to the raid might not have become an issue if not for a tip that came after a meet-and-greet held Aug. 2 for local Rep. Jake LaTurner at Kari’s Kitchen, an establishment owned by Kari Newell, a local restaurateur.

Newell asked the police chief to remove Meyer and a reporter, Phyllis Zorn, from the event, saying that she did not want them to attend.

After the newspaper published an article about the episode, Zorn received a private message on Facebook, Meyer said, from someone who shared a letter to Newell from the Kansas Department of Revenue. The letter detailed the steps she needed to take to restore her driver’s license, which had been suspended after a drunken driving citation in 2008, according to the newspaper.

Last Monday, Newell appeared at a City Council meeting seeking approval to operate a liquor-serving establishment. She accused the newspaper at the meeting of illegally obtaining the letter and giving it to Ruth Herbel, who is on the City Council. Herbel, whose home was also searched Friday, did not respond to a request for comment.

Meyer said that the newspaper had not shared the document with Herbel. He added that Newell had later told the newspaper that the release of the information might have been related to her ongoing divorce proceedings.

Although news organizations are sometimes the targets of legal actions by government officials, including subpoenas seeking interview notes and other records, the search and seizure of tools to produce journalism are rare.

Seth Stern, advocacy director at Freedom of the Press Foundation, a nonprofit that advocates for the rights of journalists and whistleblowers, said federal law allowed police to search journalists when authorities have probable cause to believe journalists had committed a crime unrelated to their journalism. That exception does not apply, however, in a case where the alleged crime is gathering the news, he said. When journalists are suspected of committing crimes as part of news gathering, the government’s option is to serve a subpoena, which can be challenged in court before it is enforced.