 The Cambridge District Court (which has jurisdiction for Arlington, Belmont and Cambridge); along with the Middlesex County District Attorney's Office, although not a part of the Middlesex County government, was also relatedly forced to relocate to Medford at the time of the closure of the Superior Courthouse building in Cambridge.Of the fourteen counties of Massachusetts, Middlesex is one of eight which have had no county government or county commissioners since July 1, 1998, when county functions were assumed by state agencies at local option following a change in state law.Immediately prior to its dissolution, the executive branch consisted of three County Commissioners elected at-large to staggered four-year terms.