The extraordinary remedy of mandamus will lie only to compel the performance of a ministerial act, and only where there is a clear legal right to the relief sought.
Matter of Lubrano v. Clarke, NY Slip Op 01809 (2d Dep't March 26, 2025)
Here is the decision.