We affirm the judgment insofar as it dismisses the plaintiff's challenges to the guilty findings in two disciplinary proceedings. We reverse the judgment insofar as it purports to dismiss the plaintiff's claims which allege that the defendants engaged in a pattern of retaliation against him for filing institutional grievances and in pursuing other litigation.