Whenever a member or officer of a municipal police department or force is a defendant in any action or legal proceeding arising out of and directly related to the lawful exercise of police powers in the furtherance of his official duties, the governing body of the municipality shall provide said member or officer with necessary means for the defense of such action or proceeding, but not for his defense in a disciplinary proceeding instituted against him by the municipality or in criminal proceeding instituted as a result of a complaint on behalf of the municipality. If any such disciplinary or criminal proceeding instituted by or on complaint of the municipality shall be dismissed or finally determined in favor of the member or officer, he shall be reimbursed for the expense of his defense.
N.J.S. § 40A:14-155