Amit Agarwal is leaving the U.S. attorney’s office in Miami to become Florida’s solicitor general.

He served as deputy chief to the appellate division in Miami and was recognized this month for leading a case on governor access to cellphone records.