For hours, the intruder strolled around what should have been one of the most tightly secured buildings in the country.

Inside the Loews Hotel in downtown Philadelphia at various points Thursday were President Trump, Vice President Pence, House Speaker Paul D. Ryan (R-Wis.) and scores of other Republican members of Congress. Reporters were kept out, and only a few select staffers, family members and outsiders were allowed to participate in the private GOP policy retreat.

But at least one unauthorized person made it inside, and while it is unclear to what degree the country’s top leaders were in physical danger, their circle of trust was undoubtedly breached.

[Behind closed doors, GOP lawmakers fret about how to repeal Obamacare]

A person secretly recorded closed sessions on national security and health care that were attended by many dozens of GOP lawmakers. They had gathered for a private discussion of some of the thorniest legislative issues of the moment, as well as a question-and-answer session with Pence.

(Obtained by The Washington Post)

The recordings were anonymously emailed that night to reporters for The Washington Post and other news outlets that published stories exposing qualms inside the GOP over the party’s plans to roll back the Democratic health-care overhaul and a looming debate between defense hawks and advocates of fiscal rectitude. Pence, meanwhile, made news by committing to pursue an investigation into unfounded accusations of widespread voter fraud.

The identity of the source of the recordings is not known; the individual communicated with The Post anonymously via email. The Post reported the contents of the recordings after confirming their authenticity with quoted lawmakers or their staffs.

Several lawmakers said they were outraged by the infiltration and have demanded answers on how an interloper made it inside Republicans’ sanctum sanctorum.

“Members want to be able to have a candid discussion about issues in that setting,” said Rep. Charlie Dent (R-Pa.). “I have to think most of my colleagues are very upset about how this could have happened.”

Rep. Dave Brat (R-Va.) said: “If someone can get in and we don’t know who it is, they could have gotten in and been a dangerous person. Just from the security standpoint, that’s not good.”

On Tuesday, Rep. Cathy McMorris Rodgers (R-Wash.), chair of the House Republican Conference, told Republicans in a private meeting on Capitol Hill that an “active criminal investigation” was underway and that police were close to determining the identity of the intruder.

The president of the Congressional Institute, the private nonprofit group tied to Republican lobbyists that organizes the retreat each year, told lawmakers in an email late Saturday that an “unauthorized person” infiltrated the retreat Thursday for nearly 11 hours using “counterfeit credentials.” The intruder was later ejected.

The woman “misrepresented herself on multiple occasions to retreat organizers as the spouse of an elected official,” wrote the group’s president, Mark Strand.

“We are working closely with Capitol Police to ascertain the identity of the woman in question,” he added. “In the meantime, we have already initiated efforts to develop new security protocols in order to better protect the internal nature of these meetings moving forward.”

The email did not indicate whether the woman who was ejected was the person who made the recordings. Strand declined to comment further, citing a “very active police investigation.”

Also unclear is whether the intruder or intruders could have posed a physical threat to Trump, Pence or lawmakers. Strand, in his email to members, said the woman who was ejected “entered the event through the same security checkpoints as every other attendee (i.e. magnetometers, police checkpoints, etc.).”

A spokeswoman for the U.S. Capitol Police, which had primary responsibility for security at the event, did not respond to multiple requests for comment.

U.S. Secret Service spokeswoman Cathy Milhoan said the agency’s Philadelphia field office was “assisting with the matter.” Trump and Pence, she added, were not in physical danger — although at least one of the recordings appears to have been made while Pence was in the room.

“The USSS relies on a multilayered security approach, and we are confident in the protection operation for the president and vice president,” Milhoan said.

Should the intruder be identified, the person could face charges under local trespassing or wiretapping laws. In Pennsylvania, it is a felony crime to record a conversation unless all of the recorded parties consent — though that applies only if a person speaks under the expectation that the remarks will not be recorded “under circumstances justifying such expectation.”

Cameron Kline, a spokesman for the Philadelphia district attorney’s office, declined to comment, citing an office policy not to confirm, deny or otherwise discuss pending investigations.

Top congressional leaders, meanwhile, have been forced to reassure their colleagues that their private deliberations will remain that way.

McMorris Rodgers said in a statement Saturday she was “pleased” the matter was under investigation.

“Leaks from internal member discussions are unacceptable,” she said, adding that “these conversations are intended to allow members to candidly discuss how to address the issues facing the American people.”

Carol Leonnig contributed to this report.

Read more at PowerPost