President-elect Donald Trump said Wednesday he would nominate Rep. Matt Gaetz (R-FL) to serve as his attorney general.

The pick could be a surprise for many career DOJ attorneys. Gaetz has been a staunch defender of Trump in recent years and is viewed as a fierce partisan. The AG position requires Senate approval.

"Matt is a deeply gifted and tenacious attorney, trained at the William & Mary College of Law, who has distinguished himself in Congress through his focus on achieving desperately needed reform at the Department of Justice," Trump wrote in a Truth Social post.

"Matt will end Weaponized Government, protect our Borders, dismantle Criminal Organizations and restore Americans’ badly-shattered Faith and Confidence in the Justice Department. On the House Judiciary Committee, which performs oversight of DOJ, Matt played a key role in defeating the Russia, Russia, Russia Hoax, and exposing alarming and systemic Government Corruption and Weaponization. He is a Champion for the Constitution and the Rule of Law…," Trump added.

After law school, Gaetz worked for several years at Florida-based firm Keefe, Anchors & Gordon, now AnchorsGordon, before running for state representative. He served in the Florida House of Representatives from 2010 through 2016, and then in 2016 was elected to the U.S. House of Representatives.

If confirmed, Gaetz would be in charge of the Justice Department's more than 100,000 employees and oversee its investigative arms, including the FBI.