The prothonotaries or clerks of the several courts within this commonwealth shall, within twenty days after the entering up a judgment in favour of the commonwealth, report the same to the state treasurer, and it shall be the duty of the deputy of the attorney general, or such attorney as the treasurer may appoint, to proceed to the collection of the moneys due on said judgments; and if the moneys received by the said deputy attorney, or such attorney as may be employed in the management of the suit in behalf of the commonwealth, in consequence of said judgment, is not paid into the state treasury within sixty days after it shall have been received by such attorney, the state treasurer shall immediately inform the attorney general thereof, if one of his deputies, who shall thereupon remove the said deputy attorney from office, and appoint another in his place, and the state treasurer shall immediately proceed against such dismissed deputy attorney, or any other attorney so acting, as in cases of other delinquents.
72 P.S. § 4663