ยง  112-a.  Students confined in certain facilities; responsibility for
  issuance of diplomas. 1. A person under twenty-one years of age who  has
  not received a high school diploma and who is placed with, committed to,
  under the supervision of, detained or otherwise confined in any facility
  operated  or  administered  by a state department or agency or political
  subdivision of the state which provides educational programs pursuant to
  section one hundred twelve of this article, or  who  is  confined  in  a
  correctional  facility, as defined in subdivision four of section two of
  the correction law, and  who  participates  in  an  educational  program
  provided  by such facility, shall be issued a high school diploma by the
  school district of  location  except  when  credit  bearing  educational
  programming  is provided by another school district. When credit bearing
  educational programming is provided by  another  school  district,  that
  district  shall  be responsible for issuing the high school diploma. The
  school district responsible for issuing the diploma  must  determine  if
  such   person   has   completed  the  minimum  New  York  state  diploma
  requirements as set forth in the regulations of the  commissioner  while
  placed  with,  committed  to,  under  the  supervision  of,  detained or
  confined in such facility.
2. For purposes of this section the term "school district of location"
  means the school district in which the  facility  where  such  youth  is
  placed, committed, supervised, detained or confined is located.
Structure New York Laws
Article 3 - Education Department
101 - Education Department; Regents of the University.
102 - Associate and Assistant Commissioners.
103 - Divisions of Department.
104 - Other Officers and Employees.
105 - Removals and Suspensions.
108 - State Education Building.
112 - Children in Care; Responsibility for Education.
112-A - Students Confined in Certain Facilities; Responsibility for Issuance of Diplomas.
113 - Leaves of Absence to Professional Members of the Department.
114 - Reduction of Salaries for Investment in Custodial Accounts.