The New York City Law Department is responsible for all of the legal affairs of the City. It represents the City, the Mayor, other elected officials, and the City's many agencies in all affirmative and defensive civil litigation as well as juvenile delinquency prosecutions brought in Family Court and Administrative Code enforcement proceedings brought in Criminal Court. Law Department attorneys draft and review local and State legislation, real estate leases, procurement contracts, and financial instruments for the sale of municipal bonds. The Department also provides legal counsel to City officials on a wide range of issues such as immigration, education, and environmental policy.