This browser does not support the Video element.
WASHINGTON - Testimony continued today at the U.S. Capitol over the Secret Service's handling of security at former president Donald Trump's rally where a shooter attempted to assassinate him.
FBI Director Christopher Wray testified before congressional lawmakers, saying the gunman, Thomas Matthew Crook, flew a drone roughly 200 yards from the rally stage where Trump would later stand.
The FBI recovered the drone and a controller from the car of 20-year-old Crook and is analyzing it as agents investigate his background and motive.
This browser does not support the Video element.
Wray: Crooke did Google search on JFK assassination
Wray also said he had uncovered that Crook searched about the JFK assassination on the day he registered to attend Trump's July 13 campaign event in Butler, Pennsylvania.
"One of the things that I can share here today that has not been shared yet is that we've just in the last couple of days, found that from our... analysis of a laptop that the investigation ties to the shooter, reveals that on July 6th, he did a Google search for, quote, 'how far away was Oswald from Kennedy? And so that's a search that obviously is significant in terms of his state of mind," Wray said. "That is the same day that it appears that he registered for the Butler rally."
Wray’s testimony before the House Judiciary Committee represents his most detailed comments to date about the July 13 shooting in Butler, Pennsylvania, which has thrust the FBI into a political maelstrom, with the bureau probing the most serious attempt to assassinate a president or presidential candidate since President Ronald Reagan was shot in 1981.
The details about Crooks' use of a drone just hours before Trump took the stage for the rally add to the questions about the security lapses preceding the event.
RELATED: Secret Service Director Kimberly Cheatle resigns after Trump assassination attempt
Wray promises thorough FBI investigation
Wray pledged to lawmakers that the FBI would "leave no stone unturned" in its investigation of a shooting that he called despicable and horrific.
"I have been saying for some time now that we are living in an elevated threat environment, and tragically the Butler County assassination attempt is another example — a particularly heinous and public one — of what I’ve been talking about," Wray said.
This browser does not support the Video element.
The hearing had been scheduled well before the July 13 shooting as part of the committee’s routine oversight of the FBI and the Justice Department, and though lawmakers may touch on a broad array of topics, questions about the shooting are expected to dominate the session.
Despite being appointed by Trump, Wray typically faces antagonistic questions from the Republican-led panel, a reflection of lingering discontent over the FBI’s investigation into potential ties between Russia and the 2016 campaign.
RELATED: Bodycam captures Thomas Crooks' death following Trump shooting
That sentiment was made clear early in the hearing when the panel's Republican chairman, Rep. Jim Jordan of Ohio, told Wray: "I’m sure you understand that a significant portion of the country has a healthy skepticism regarding the FBI’s ability to conduct a fair, honest, open and transparent investigation."
This browser does not support the Video element.
Though the FBI has avoided the same level of scrutiny over the shooting directed at the Secret Service over security failures that preceded the shooting, culminating Tuesday in the resignation of Director Kimberly Cheatle, Wray is likely to be questioned by lawmakers skeptical of the bureau’s assessment that Crooks left behind no obvious ideological motive that could explain his actions.
The FBI has said it is investigating the shooting, which killed one rallygoer and seriously injured two others, as an act of domestic terrorism and an attempted assassination. Trump’s campaign said the presumptive GOP nominee was doing "fine" after the shooting, which Trump said pierced the upper part of his right ear.
RELATED: Trump's ex-doctor reveals near-miss bullet in health update
Wray and other senior officials privately briefed members of Congress last week, telling them that Crooks had photos on his phone of Trump and Democratic President Joe Biden and other officials and had looked up the dates for the Democratic National Convention as well as Trump’s appearances.
A law enforcement official told The Associated Press last week that Crooks had also flown a drone above the rally site before the event in an apparent effort to scope out the scene in advance.
FOX News and The Associated Press contributed to this report. This story was reported from Los Angeles.