WASHINGTON (AP) — President-elect Donald Trump said Thursday he will nominate former Florida Attorney General Pam Bondi to lead the Justice Department, turning to a longtime ally after his first choice, Matt Gaetz , withdrew his name from consideration amid scrutiny over sex trafficking allegations. Bondi has been an outspoken defender of Trump. She was one of his lawyers during his first impeachment trial, when he was accused — but not convicted — of abusing his power as he tried to condition U.

S. military assistance to Ukraine on that country investigating then-former Vice President Joe Biden. And she was among a group of Republicans who showed up to support Trump at his hush money criminal trial in New York that ended in May with a conviction on 34 felony counts.

“For too long, the partisan Department of Justice has been weaponized against me and other Republicans - Not anymore,” Trump said in a social media post. “Pam will refocus the DOJ to its intended purpose of fighting Crime, and Making America Safe Again.” Gaetz stepped aside amid continued fallout over a federal sex trafficking investigation that cast doubt on his ability to be confirmed as the nation’s chief federal law enforcement officer.

Gaetz, who passed the bar but barely worked as a lawyer, had very little relevant experience for the job. Bondi comes with years of legal work under her belt and that other trait Trump prizes above all: loyalty. The hasty withdrawal by Gaetz and quick pivot to B.