The "Housing Part" (HP) refers to the part of the Housing Court devoted exclusively to code enforcement. Other parts include: Calendar part, for the maintaining and calling of a calendar of cases, and for the hearing and disposition of all motions and applications, including orders to show cause and applications for adjournments, in civil actions that have been placed on a reserve or ready calendar but not yet assigned to a trial part. Trial part, for the trial of civil actions and for the hearing and determination of all motions and applications, including orders to show cause, made after an action is assigned to a trial part. Motion part, for the hearing and determination of motions and applications that are not otherwise required to be made in a calendar part, trial part or conference part. Conference part, for the precalendar or pretrial conference of actions. Multipurpose part, for the performance of the functions of a calendar part, a trial part, a motion part, a conference part, as well as other special parts of court. Personnel Judges There are approximately 120 Civil Court judges in the New York City Civil Court. Civil Court judges may be assigned by the Chief Administrative Judge of New York to the Criminal Court, Family Court, or Supreme Court. At any given time, about 50 Civil Court judges are assigned to the Civil Court, with the rest assigned to the Criminal, Family or Supreme Courts. Civil Court judges are elected countywide or from districts to 10-year terms, with vacancies filled by the mayor and with their service continuing until the last day of December after next election. The Legislature has consistently opted to fill judgeships using the preexisting mixed pattern of countywide and Municipal Court districts— seats formerly held by City Court justices, elected on a countywide basis; seats formerly held by Municipal Court justices, elected from districts located within counties; and seats created by successive acts of the Legislature, elected on a countywide basis. A candidate needs to file petitions to be considered a candidate for a political party's nomination in the general election; petitions containing 4,000 signatures are needed for a county-wide seat, and petitions containing 1,500 signatures are necessary for a district seat. Party leaders frequently designate candidates for the Civil Court judgeships, who then face an open primary against others who qualify for the ballot. The party machine usually manages to elect