OPINION OF THE COURT
Petitioner, an inmate in the custody of the New York State Department of Correctional Services (DOCS), brings this CPLR article 78 proceeding claiming that the doctrine of res judicata precludes the imposition of a prison disciplinary penalty based on his second-degree manslaughter conviction because he was previously disciplined in connection with the incident underlying his criminal conviction. Like the courts below, we conclude that res judicata does not apply under these circumstances.
On July 17, 2003, petitioner Derek Josey and another inmate, Richard Rodriguez, engaged in a physical altercation witnessed by over 300 other prisoners. During the fight, petitioner stabbed Rodriguez in the chest. He died later that day. Three days later, DOCS charged petitioner in a misbehavior report with breaching inmate rules prohibiting assault, fighting, possession of a weapon and refusal to obey a direct order. 1 The report stated that three correction officers observed “two combatants lunging back and forth at each other, with what appeared to be weapons in hand.” Following the completion of a tier III disciplinary hearing on July 30, 2003, a hearing officer found petitioner guilty of the assault, fighting and weapon charges, and imposed a penalty of 24 months in the Special Housing Unit (SHU) with a corresponding loss of packages, commissary and telephone privileges. For reasons that are unexplained in the record, neither the misbehavior report nor the hearing officer’s written determination indicated Rodriguez’s death.
A second DOCS misbehavior report premised on the same incident was served on petitioner in September 2003, charging him with violating the disciplinary rules proscribing assault, possession of a weapon, refusal to obey a direct order and violent conduct. This report added that Rodriguez had died and that confidential informants stated that petitioner had stabbed Rodriguez with a metal shank, which was hidden with the help of other inmates. According to the report, State Police retrieved the weapon. After this tier III hearing, petitioner was found guilty of assault, possession of a weapon and violent conduct, and assessed a penalty of 120 months in the SHU with a loss of *389 privileges. On administrative review, the penalty was reduced to 60 months in the SHU. Petitioner brought an article 78 proceeding in Supreme Court to annul the determination, arguing that it was barred by res judicata. While that court proceeding was pending, DOCS reversed its determination, reasoning that the incident had already been considered at the July 2003 hearing. As a result, petitioner withdrew his article 78 petition.
In August 2004, petitioner appeared in Dutchess County Court and pleaded guilty to second-degree manslaughter (Penal Law § 125.15 [1]) in connection with the July 17, 2003 incident, and was sentenced as a second felony offender to a consecutive term of 6V2 to 13 years. 2 DOCS later issued a third misbehavior report, charging petitioner with violating disciplinary rule 1.00 (7 NYCRR 270.2 [A]), which authorizes DOCS to discipline an inmate convicted of violating the Penal Law. Following a third tier III hearing, the hearing officer found petitioner guilty and imposed an additional 72 months in the SHU, together with a loss of privileges and 156 months loss of good time. The determination was affirmed on administrative appeal.
Petitioner commenced this article 78 proceeding, asserting that the doctrine of res judicata prohibited DOCS from holding the third tier III hearing. Supreme Court denied the petition and dismissed the proceeding, finding res judicata inapplicable. The Appellate Division affirmed and we granted petitioner leave to appeal.
Petitioner argues that the third tier III determination must be annulled on res judicata grounds because the Penal Law conviction, upon which the determination was based, arose out of the same July 17, 2003 incident for which he was already assessed a penalty following the first tier III determination. DOCS counters that application of res judicata under the circumstances of this case would be inconsistent with the purpose of prison disciplinary proceedings and unduly hamper its ability to regulate the security and safety of the prison environment.
The doctrine of res judicata precludes a party from litigating “a claim where a judgment on the merits exists from a prior action between the same parties involving the same subject matter” (M
atter of Hunter,
Before we will apply res judicata to an administrative decision, however, “it is necessary to determine whether to do so would be consistent with the function of the administrative agency involved, the peculiar necessities of the particular case, and the nature of the precise power being exercised”
(Matter of Venes v Community School Bd. of Dist. 26,
Here, DOCS promptly issued petitioner a misbehavior report after the fight and held a tier III hearing, ultimately finding petitioner guilty of violating a number of inmate rules and imposing a penalty. In this regard, DOCS urges that immediate disciplinary action is essential to maintain order in correctional facilities and discourage violent behavior by inmates. Since it was not until over a year later that petitioner pleaded guilty to second-degree manslaughter, DOCS contends that it must be able to conduct another tier III hearing pursuant to disciplinary rule 1.00, which permits the imposition of departmental sanctions based on a criminal conviction and specifically provides that it “does not preclude an inmate from being disciplined at any time for any violation of the following rules of conduct based upon the same incident” (7 NYCRR 270.2 [A] [note]). Although petitioner correctly asserts that both determinations arose out of the same July 17, 2003 transaction, we conclude that res judicata does not foreclose DOCS from disciplining petitioner for his subsequent criminal conviction. Application of the doctrine in this context would be inconsistent with the necessities of the case and the nature of DOCS’s functions.
*391
We have recognized that DOCS “has legitimate penological interests in seeing that disciplinary determinations are made quickly, both for security and rehabilitative reasons”
(People ex rel. Vega v Smith,
DOCS therefore has both a need and general obligation to act swiftly to separate and discipline inmates who commit violent acts in prison, often before it can perform a comprehensive investigation. Indeed, prison disciplinary determinations need only be supported by substantial evidence
(see Matter of Lahey v Kelly,
We therefore determine that res judicata does not preclude DOCS from disciplining an inmate for being convicted of a Penal Law offense even though DOCS previously assessed a penalty for the inmate’s violation of disciplinary rules stemming from the same conduct. To conclude otherwise would impede DOCS’s ability to promote prison safety and have the perverse effect of encouraging DOCS hearing officers to impose more stringent disciplinary penalties initially, before any criminal investigation and proceedings are concluded.
Accordingly, the order of the Appellate Division should be affirmed, without costs.
Chief Judge Kaye and Judges Cipakick, Read, Smith, Pigott and Jones concur.
Order affirmed, without costs.
Notes
. No disciplinary rule specifically prohibits homicide.
. Petitioner was originally indicted for murder, but pleaded guilty to manslaughter in full satisfaction of the indictment.
. Additionally, a consecutive sentence is generally required for inmates who are convicted of committing a felony while incarcerated for a prior felony conviction, resulting in a lengthier prison term under DOCS’s supervision (see Penal Law § 70.25 [2-a], [5]). But when DOCS disciplines an inmate before a conviction, DOCS is unable at that time to consider the effect of such increased incarceration on prison safety and security when rendering the penalty.
