¶1delivered the Opinion of the Court.
¶2Five several suits were brought by the relator, as the clerk of the County Court of Fayette, against the defendants, upon five different sheriffs’ bonds, to recover from the sheriff and his sureties, the amount of fee bills placed in the hands of the sheriff, in two cases, for collection, and the hands of his deputy, in three other cases.
¶3There seems to be but little diversity in the five cases, and they may be all considered together.
¶4The principal question involved in these cases, arises upon pleas put in by the defendants, presenting, as matter of defence, in bar of the plaintiff’s action, that the fee bills, at the time they were placed in the hands of the officer for collection, were not due and payable two years previous thereto, and that the clerk had not,, at the time of their delivery to the officer, delivered to him a list of the fee bills, endorsed that notes on the Bank of Kentucky or its branches, or notes on the bank of the Commonwealth of Kentucky or its branches, might be received by the officer, in discharge of the same.
¶5These pleas involve a construction of the fifth section of the act passed the 25th of December, 1820, (1 Digest, 500,) which is in the following language:—
¶6“ That no sheriff, constable or other officer, within “ two years after the same shall become due and payable, shall receive from any clerk &c. whose fee bills “ authorize distress, any fee bill for collection, unless such “ officer shall deliver to the officer to whom he delivers “ his fee bills, a duplicate list, with a certificate that notes *559“ on the bank of Kentucky or its branches, or notes on the “ bank of the Commonwealth of Kentucky or its branches, “ may be received in payment for all the fee bills contained “ in this list. And all the fee bills so endorsed shall be “ discharged in the notes so endorsed, and the officer “ holding the same may distrain for the same, as hereto ‘‘ fore allowed.”
¶7It is contended by one of the counsel for the relator, that if the officer should receive the fee- bills not endorsed as required, he may distrain for them; that there is no prohibitory clause in the act, to prevent it—the act not saying he shall not distrain; and therefore it leaves every remedy in full force for their collection, if received.
¶8We cannot adopt this construction of the section.
¶9It is certainly very carelessly drafted. Nor are the most appropriate words used to express what we are constrained to believe was the intention of the Legislature, in its enactment; and that intention whenever it can be arrived at by any fair construction, should be adopted, without regard to the good or bad policy of the measure.
¶10If we look at the whole statute to which the above section belongs, as well as the evil that existed, and the remedy intended to be effected by its enactment, we cannot doubt the object and intention of the Legislature.
¶11The country had become involved in debt; a great contraction in the circulating medium, had taken place, and a total inability on the part of debtors, to meet their engagements; in consequence of which, a general cry was raised in the community, in favor of legislative relief; and a majority of the members of the Legislature of 1820, had been elected under pledges to afford it.
¶12In the accomplishment of this object, they first chartered the Bank of the Commonwealth of Kentucky, and then passed the act in question, prohibiting the coercion of all debts for two years, which had not previously been replevied, unless the creditor should endorse on the execution, that he was willing to receive, in payment, *560the notes on the Bank of Kentucky, and Bank of the Commonwealth, and their branches.
¶13Their object and intention was, manifestly, to coerce all creditors to receive the paper of their banks, in payment of their debts or claims; and, in case of their refusal to withdraw from them, for the term of two years, the remedies which the law afforded for their coercion.
¶14While other creditors, who were authorized to pursue their remedies by suit, judgment and execution, were required to endorse their willingness to take the notes of their banks, or branches, on their executions, or be compelled to submit to a replevin of two years, clerks and other officers, who had and would continue to have large demands due them, (especially in those litigious times,) were not passed over by the Legislature.
¶15While the ordinary creditor, who had to resort to the courts of justice to collect his debt, had to make the endorsement on the execution, the clerk and other officers, who had the privilege of collecting their fees by distress, were required to endorse a duplicate list. And while it was the intention of the Legislature to withhold the execution in the one case, except upon the condition imposed, it was equally their intention in the other, to withhold the right of distress, except upon the like terms.
¶16It is true, they have not, in direct terms, prohibited the right of distress in case of a failure to endorse. But they have prohibited all officers who had the right to make distress, from receiving such fee bills for collection, until two years after they became due and payable, unless the required endorsement is made. And in the latter clause of the same section, they have said that when the endorsement shall be made, the officer holding the same “ may distrain for the same, as heretofore allowed.”
¶17A distress being allowed, as heretofore, in cases where the endorsement is made — can it be doubted that the right of distress was intended to be withheld, when the endorsement was not made ?
¶18Nor can we come to the conclusion, as contended, that this section was intended to apply only to fee bills due and payable at its passage.
¶19The statute is general: no officer shall receive for collection, any fee bill; which applies as well to fee bills then due, as to those that might become due. Litigation was increasing; the debt in fees accumulating, and an evident intention manifested by this, as well as other legislative enactments, to force the paper of certain banks on the community, as a circulating medium, for the payment of all demands.
¶20To accomplish this object, it was as essential t'o make the provisions of the section apply prospectively to the accumulating debt in fees, as retrospectively, or to those only that were then due.
¶21Besides: it is more compatible with the genius of our government, the spirit of our constitution, and the rights of individuals, to give to our statutes that construction which would make them operate prospectively in all cases where it can be done, rather than retrospectively.
¶22The latter construction, in this case, would render the section evidently unconstitutional and void, when the former would bring it perfectly within the competency of legislative enactment. Lapsley vs. Brashears, 4 Littell, 58.
¶23But opposed to this view of the case, our attention has been directed to the twenty eighth section of the act of 1796, (1 Digest, 577,) and to the fourth section of the act of 1808, (1 Dig. 578.)
¶24The twenty eighth section provides, “ that no suit or “ warrant, from a justice of the peace, shall be had or *562“ maintained for clerks’ or surveyors’ fees, unless the “ sheriff shall return that the person owing or chargeable “ with such fees, hath not sufficient within his bailiwick, “ whereon to make distress, except &c.”
¶25The fourth section provides, “ that the several officers “ shall not have the right of distress for fee bills, beyond “ 'the year in which such fee bills became payable, unless “ such as shall have been actually sent out for collection, and returned as delinquents &c.”
¶26It is contended that, as the twenty eighth section prohibits a warrant for fees, unless put out to be destrained for, and the fourth section prohibits a distress for them beyond the year, unless they have been sent out for collection by distress, within the year, in which they became payable, that the fifth section, if it be construed to prohibit a distress for two years, if not indorsed, would take from clerks all remedy for the collection of their fees by coercion, except in bank paper, and hence such construction should not be given to the fifth section. If such were the consequence, our opinions would not be changed: “ Ita est lex scripta;" we are not placed here to make laws, but to carry into full effect the intention of the Legislature in their enactments.
¶27The Legislature unquestionably possessed the power to increase, reduce, or otherwise regulate the fees of the clerks prospectively. If so, they had the power to require them to be received absolutely and unconditionally, in Commonwealth’s paper, or any other commodity. If so, they surely had the power to withhold all remedy for their collection unless the indorsement which they required should be made.
¶28But we do not regard this as the proper construction to be placed upon those acts when taken together.
¶29And they should be taken together and construed as one act, permiting all the parts and provisions of each to stand, unless there be an irreconcileable repugnance between them; and if that be the case, the former act must give way to the latter, so far as that repugnance exists.
¶30We regard the fifth section as modifying the fourth, and not repealing it. If the fee bills are endorsed, they *563must be sent out for collection, as required by the fourth section. If they are not endorsed, the time for sending them out is postponed for two years; and in that event, they are to be placed in the officer’s hands for collection, on or before the first day of April next succeeding the expiration of the two years allowed by the fifth section.
¶31*563The two years are to be counted out, and not charged to the default of the officer, in the computation of the-time- preceding that at which his fees are to be put out, by the fourth section; or rather, the day on which they are to be put out, is postponed for two years.
¶32In support of this mode of construing statutes, we have the authority of our predecessors, in a case analagous in principle. Our statute of limitation had prescribed the time which would bar the different species of action. A statute of subsequent date, the statute of 1811, prohibited suits from being brought against executors and administrators until six months after they had qualified. They determined that the six months should be excluded from the computation of the time fixed for the running of the statute. In this they make the provisions of a subsequent act modify the provisions of a previous act, leaving it in other respects in full force.
¶33But it is contended by another of the appellant’s counsel, that though the sheriff might not have the power to coerce the collection of fee bills by distress, that he might receive and collect them by voluntary payments, and for such collections he was officially responsible. The section is clear and unequivocal in its terms, that no sheriff &c. shall receive any fee bill for collection, without the endorsement. His collections by voluntary payment, are as clearly within the inhibition of the section, as his collections by distress. Both being inhibited, both must be unofficial, and for neither, can he or his sureties be made officially responsible.
¶34But it is also contended that, in the two cases in which the fee bills were delivered to the sheriff for collection, he having received them, is estopped to rely upon his own dereliction of duty, to escape responsibility.
¶35If this were the case as to the sheriff, it would cer*564tainly not hold good as to his sureties. It surely would not be in the power of the sheriff, by his unauthorized, unofficial act, to render his sureties responsible; much less would it be in his power, by doing an act inhibited by a statute, to impose a responsibility upon them.
¶36He cannot by his act make those claims officially collectible, which are not only, not made so by the statute, but expressly inhibited.
¶37But the doctrine of estoppel does not apply to the sheriff, in cases like the present. Such a rule would tend to encourage, rather than suppress, a violation of a prohibitory statute.
¶38The statute was enacted for the public good. The community were interested in its provisions. It was made to protect them from being coerced into the payment of fees to the officers of the Commonwealth, except upon the terms prescribed by the Legislature. They had the power to fix the terms; they have fixed them, in clear and unequivocal words; and taken from the collecting officers, all power to collect, except upon the terms and conditions prescribed. We have not the power to change, alter,, or abolish, those terms, or prescribe others, which may be deemed equivalent. The Legislature had the right to determine upon the policy of the measure, and to select its own mode for carrying it into effect. And having done so, their mode must be pursued.
¶39If the sheriff is prohibited from receiving fee bills for collection, without the endorsement, the clerks are prohibited from delivering them for collection. The one cannot be guilty, and the other innocent; and in actions founded upon such delivery, the maxim applies, in pari delicto, potior est conditio defendentis.
¶40The statute being for the good of the Commonwealth, and the protection and security of its citizens, and the contract, express or implied, upon which the fee bills were delivered for collection, being in derogation of its express provisions, is void, and no action can be sustained upon it. For the doctrine is now well settled, that contracts, express or implied, parol or written, against the policy of the common law, or the provisions of a stat*565ute, the claims of policy or the dictates of morality, are void; and their nullity may be pleaded in bar of any action founded on such contract. Parsons vs. Thompson, 1H. Black. 322; Ibid. 327; Walker vs. Perkins, 3 Burrow, 1566; Chitty on Contracts, 229—30—31—32. And the distinction between mala prohibita, and mala in se, seems to be measurably exploded in modern adjudications.
¶41But the principles heretofore settled by this Court, in analaaous cases, when carried out, and applied to this case, will remove all doubt on the subject.
¶42In the case of May vs. Johnson, 2 Bibb, 220, it is decided that to make the sheriff liable for the collection of fee bills, in his official character, the relator must show that the fee bills belonged to him, and that they were such as the sheriff was required by law to collect.
¶43In the case of Edwards’ executors vs. Taylor, 4 Bibb, 355, it was determined, that the sheriff was not bound to account officially for fines and taxes, received by his deputy, for collection, which he was not bound by law to receive.
¶44In the case of Cobb vs. the Commonwealth, for Beaty, 3 Monroe, 394, it was settled, that, in a suit on a sheriff’s bond, it must appear, that the fee bills were due and owing to the relator, and were such as, by the duties of his office, the sheriff was bound to receive and collect.
¶45In the case of Ardery vs. the Commonwealth, for the use of Moore, 3 J. J. Marshall, 183, the clerk had delivered fee bills to the deputy sheriff, for collection, and in a suit on the official bond of his principal, a question of fact arose, whether he had given a certificate authorizing the receipt of bank notes, as required by the statute. The Court recognized the principles settled in the foregoing cases, treat the fact to be proven, as material, and reverse the cause, because it was not made out by competent testimony.
¶46If, as is determined, in the three first cases, the mere absence of obligation to receive and collect, will exempt the sheriff and his sureties from official responsibility, much more will a positive inhibition to receive and collect, exempt them.
¶47*566In those three cases, there was no violation of any command, no illegality, the law was merely silent. Here it is imperative, that he shall not receive.
¶48Upon the whole, we conclude, that the sheriff and his sureties are liable only for official defalcations; for failing to do that which the law enjoins, and not for a failure to do that which it does not enjoin, and much less which it inhibits.
¶49To apply the principles above settled, to the five cases under consideration: the declaration in the first case contains three counts. The first count is in the usual form, containing the usual averments, in substance, that fee bills to the amount of $462.68¾ cents, were, on the 7th of April, 18—put into the hands of Wm. R. Morton, the deputy of Young, for collection by said Rodes, the clerk of the County Court of Fayette, and when put into his hands, were due and collectible by distress, and that Young had not, by himself or deputies, well and truly accounted for and paid over the same to said Rodes.
¶50The second count, after averring that the fee bills were placed in the hands of Morton, as deputy of Young, avers, in substance, that Morton had, before the commencement of the suit, and during the continuance of Young as sheriff, collected the amount of the fee bills, and that Young had not, by himself or deputies, paid it over to the clerk: without any averment that the fee bills when placed in the hands of the deputy were due, and collectible by distress.
¶51The third count avers, in substance, that the fee bills were put into the hands of Morton, the deputy, without an endorsement, to collect in gold and silver, and to account for at the time and in the manner directed by law, and which fee bills were then due and payable, and collectible by distress, in notes on the bank of Kentucky or branches, or notes on the bank of the Commonwealth of Kentucky or branches; and said Morton had kept said fee bills in his hands two years, when said fee bills became payable and collectible by distress, in gold or silver, and that the sheriff, by himself or deputies, had failed to account and pay the same to the said Rodes, by the 1st *567day of October next after they became due and payable in gold and silver.
¶52Various pleas, demurrers and replications were filed, but we deem it unnecessary to notice more than the 6th and 16th pleas, as the case ultimately turned upon them.
¶53The 6th in substance avers that, when the fee bills were delivered to Morton, Rodes did not deliver to him, a duplicate list of the fee bills, with a certificate endorsed, that notes on the bank of Kentucky or its branches, or notes on the bank of the Commonwealth of Kentucky or its branches, might be received in payment of all the fee bills contained in said list, nor were the fee bills due and payable two years previous to the time, when they were placed in the hands of said Morton.
¶54The 16th plea contains in substance the same averments with the 6th, with this addition, that the fee bills were not due and payable at any time during the continuance of the term of said Young as sheriff of Fayette county.
¶55To which pleas, the plaintiff filed replications, averring that a duplicate list was delivered, endorsed that notes on the bank of the Commonwealth of Kentucky or its branches, might be received &c.
¶56To which replications, demurrers and joinders were filed; and the Circuit Court decided that the demurrers be sustained, adjudging the replications bad, and giving judgment for the defendant.
¶57The replications are evidently bad, in failing to aver that the duplicate list that was delivered, contained the endorsement that notes of the bank of Kentucky or branches, as well as those of the Commonwealth’s bank, might be received.
¶58But it is the duty of the Court to look back into the record and apply the demurrer to the first error committed, if any.
¶59We regard, the first count as good. The second is bad, in failing to aver that the fee bills when collected by the deputy were legally collectible by distress. For if he had no legal authority to collect them, at the time when they were collected, or was then inhibited from *568collecting them, the sheriff and his sureties are not officially responsible, as above settled.
¶60*568In relation to the third count, we would remark, that if it were competent for the sheriff or his deputies, having received fee bills for collection, without endorsement, to retain them until after the two years expired, when they would become collectible in specie, and if by failing to collect fee bills so retained, or failing to pay over the money collected on them, thus conditioned, the sheriff, could be made officially responsible, (which is not necessary to be settled in this case,) to render him so on his official bond, it would certainly be necessary to aver that he continued in office, and the deputy who received them continued as his deputy, a reasonable time after the expiration of the two years, so as to enable him to make the collections. For as two years is, in the general, by the constitution and laws of the land, the term of the sheriff’s office, we cannot presume that it did continue longer than two years after the date of his bond.
¶61If, therefore, in a particular case, it is protracted to a longer period, it should be specially averred.
¶62The third count is, therefore, bad, in failing to aver, in substance, that Young was sheriff, continuing to act as such, and Morton was his deputy, continuing to act as such, for a reasonable time after the expiration of the two years, when the said fee bills became due and payable and collectible by distress in gold and silver.
¶63But there being one good count, and the demurrer applying to the whole declaration, cannot be sustained for the defect in the two bad counts.
¶64The pleas, though made to apply to the whole declaration, if each of them be responsive, and a good bar to the good count, they should be sustained.
¶65The good count avers that the fee bills were due and collectible by distress when they were placed in the deputy’s hands. Each of the pleas avers a state of facts, which shows that they were not then due and collectible by distress, which meets and presents a sufficient bar to the averment, in the declaration, and are therefore good. If they became due and collectible by distress, at any sub*569sequent time while the deputy continued in office, it was the duty of the plaintiff to aver and prove it.
¶66The judgment of the Circuit Court is therefore affirmed, with costs.
¶67Similar counts were filed in the other four cases; to which, similar pleas, replications,demurrers and joinders, were put in, and similar judgments of the Circuit Court. For the like reasons, they are all affirmed, with costs.
¶68The Chief Justice—though he does not dissent from the foregoing opinion—feels it his duty to suggest that—as the obvious and only object of the enactment, bearing directly on these cases, was to secure to debtors the privilege of either paying fee bills against them in certain bank paper, or of being entitled to two years indulgence, and as, moreover, the prescribed duplicates could only have been intended for the security of the collecting officers—he cannot feel otherwise than extremely doubtful whether, incongruous and inappropriate as the language of the enactment evidently is—it should not be understood as intending merely that collecting officers should have a right to require duplicates, expressly agreeing to take bank paper, and that, upon fee bills, there should be no distress for any thing but such paper, sooner than at the end of two years; and whether, therefore, if Morton, in these cases, was even orally directed by Rodes to collect the fee bills in paper of the bank of Kentucky or the bank of the Commonwealth, and did actually so collect them, he was not officially responsible to Rodes for what he so collected.