Miami-Dade County Court Judge Joseph J. Mansfield served as a state prosecutor 16 years before Gov. Rick Scott selected him for the bench. The judge is serving in a criminal division at the Richard E. Gerstein Justice Building in Miami. His relatives, fellow judges and friends gathered Thursday for his formal investiture in the ceremonial courtroom at the Miami-Dade County Courthouse.