WASHINGTON -- FBI Director Kash Patel defended Tuesday a recent policy change to allow some applicants who have engaged in prostitution and bestiality to be considered for employment, insisting that the move was made to enable victims of those acts to apply for a job without fear of automatic disqualification.

The subject arose during a fiery Senate Judiciary Committee hearing in which Patel clashed with Democrats over his firing of agents who participated in investigations of President Donald Trump and suggested that agents might be dispatched to the polls on Election Day amid Justice Department and White House concerns about voter fraud.

The FBI quietly issued guidance this past spring lifting a categorical hiring restriction on applicants who had previously participated in prostitution. The bureau made a similar change with regard to childhood experience in bestiality.

Under questioning, Patel denied that the changes reflected a lowering of employment standards and insisted they were designed to prevent victims who'd been forced to engage in that conduct from being automatically disqualified.

"We did not want to punish victims of bestiality, victims who were trafficked. We did not want to make it an automatic disqualification for the FBI to consider you if you were a victim of these awful, heinous acts," Patel said.

The questioning spanned partisan lines, with Republican Sen. John Kennedy of Louisiana grilling Patel about the rationale for a change that the FBI director said was proposed to him by subordinates.

"When you saw bestiality, I say this with respect: The person who recommended it, why didn't you just say what planet did you parachute in from?" Kennedy asked.

Patel conceded that was his initial response, but "they then explained to me and showed me cases in which people were forced into it and applied to the FBI and so I thought they should be considered. It's not an automatic disqualification."

The Associated Press reported last month that the FBI still intends to bar some applicants who are revealed to have previously engaged in prostitution, including if they've done so within the last 10 years.

Asked whether the FBI has the general authority to monitor elections, Patel replied that responsibility rests with the Department of Homeland Security. He said the FBI's presence on Election Day will be "housed" with election crimes coordinators at each of the bureau's 56 field offices, but under questioning, he declined to rule out that agents would be dispatched to the polls in the event of problems or reports of interference.

Democrat Richard Blumenthal of Connecticut pressed Patel on the firing of national security agents with expertise in Iran shortly before the U.S. launched attacks on the country last February. He noted that the agents had participated in an FBI investigation into Trump over his retention of classified documents at his Mar-a-Lago estate in Florida.

"Do you think firing the president's political opponents is more important than retaining the decades of experience and expertise monitoring intelligence threats from Iran?" Blumenthal asked.

"I think what's most important is to not have a weaponized FBI, and I will endeavor every single day to make sure we have no one there that is doing that," Patel responded.

Patel later suggested that the scope of firings had been overblown, saying many agents had retired on their own.