WASHINGTON — President Trump ordered law enforcement and intelligence officials to declassify documents related to the Russia investigation and other inquiries, White House officials said on Monday, the latest instance of the president siding with Republican allies on Capitol Hill over federal law enforcement.

Mr. Trump decided to declassify text messages about the Russia inquiry from a handful of law enforcement officials, summaries of interviews in the case and documents related to the surveillance of a former Trump campaign aide investigated for his links to Russia. For months, Mr. Trump and some of his most fervent congressional supporters have clamored for the material’s release against the protests of the intelligence and law enforcement communities.

The move is all but certain to further deteriorate Mr. Trump’s relationship with law enforcement officials. As part of their monthslong attacks on the Russia investigation, the president and his allies have accused law enforcement officials of improperly obtaining a secret warrant to wiretap the campaign adviser, Carter Page. Little evidence has emerged to back the Republicans’ assertions, and Democrats have accused them in return of politicizing a legitimate inquiry with major national security implications.

Justice Department officials originally received authorization to wiretap Mr. Page from the secretive Foreign Intelligence Surveillance Court in October 2016. Among the materials being prepared for release are nearly two dozen pages of the Justice Department’s application. The wiretap was renewed three times, including once by Rod J. Rosenstein, the deputy attorney general, who supervises the special counsel investigation.