 The Law Department represents the mayor, city agencies, and city officials in all civil litigation, in juvenile delinquency proceedings in Family Court, and in prosecutions in the New York City Criminal Court under the New York City Administrative Code.Among the department's other duties are drafting contracts, leases, municipal bond issues, and other legal documents for the city; reviewing local and state legislation; and providing legal advice to city officials on a wide variety of issues.The "New York City Charter", the "New York City Administrative Code", and the "Rules of the City of New York" are published online by New York Legal Publishing Corporation under contract with the Law Department.