The plaintiff as indorsee of two promissory notes made payable to the defendant or his order, declares against him as indorser of the same. The defendant challenges the plaintiff’s right of recovery by a general demurrer to his declaration. The rights of the parties must be determined upon their pleadings.
The plaintiff’s declaration sets out the date of each note, (August 4, 1889, and January 19, 1890, respectively, both of which dates fell upon Sunday,) and that this defendant, the payee, on the same day on which they bear date indorsed and delivered them to certain parties named, who on the same day indorsed and delivered them to the plaintiff.
Among other things of which the court takes judicial notice is the computation of time, and upon what day of the week a certain day of the month falls, or that a certain day of the month falls upon Sunday. Philadelphia, etc. R. Co. v. Lehman, 56 Md. 209 ; McIntosh v. Lee, 57 Iowa, 356.
While the statute expressly prohibits the performance of secular business upon the Sabbath, except works of necessity or charity, it also provides that no deed, contract, i'eceipt or other instrument in writing is void because it bears date upon the Lord’s day, without other proof than the date, of its having been made and delivered on that day. E. S., c. 82, § 115. But the defendant contends that this presumption which the statute raises that the notes were made, delivered and indorsed on a secular day, is overcome by the plaintiff’s allegation that they were dated, signed by all the parties, including the defendant as indorser, and delivered to and received by the plaintiff on the day of their date which was Sunday. Hence, the defendant claims that the plaintiff cannot recover inasmuch as, by his own statement of his cause of action, he sets up an illegal contract to which he him*113self is a party. Towle v. Larrabee, 26 Maine, 464; Plaisted v. Palmer, 63 Maine, 576 ; Mace v. Putnam, 71 Maine, 238.
A contract made on Sunday, where the transaction of such business is prohibited, is an illegal contract, and void as between the parties. In such case, any contract for the payment of money or the performance of any service cannot be enforced as between the parties, nor if money has been paid or property transferred by one party to the other under such contract, where both parties are alike in fault, can it be recovered back, because of the ivell settled maxim, "Potior est conditio possidentis.”
That the indorsement, as Avell as the making- and delivery, of a promissory note is an act Avithin the statute prohibiting secular business on the Sabbath, is settled in Benson v. Drake, 55 Maine, 555. The indorsement creates a new contract. It affects the liability of the maker, as Avell as the contract to Avliich it is subsidiary. It is not a work of necessity or charity, but a business transaction.
But while it is the well settled doctrine that such contracts are illegal, the legislature of this State has seen fit to impose upon the party Avho sets up such illegality by way of defense, before he can invoke that illegality, the duty of making restoration of whatever consideration he may have received under such contract. Berry v. Clary, 77 Maine, 482; Wentworth v. Woodside, 79 Maine, 156; R. S., c. 82, § 116. The language of the statute is plain and comprehensive : "No person Avho receives a valuable consideration for a contract, express or implied, made on the Lord’s day, shall defend any action upon such contract on the ground that it was so made, until he restores such consideration.”
A defense may be made to an action as well by demurrer as in any other manner. A demurrer admits the facts set forth, and challenges their sufficiency in laAV upon Avhich to maintain the action. It is the defense made to this action. But notwithstanding the illegality of the contract, not only in its inception, but also in the indorsement and delivery to the plaintiff, may be apparent upon the face of the declaration, yet it nowhere *114appears that the defendant has restored the consideration which the laiv presumes he received for such indorsement and transfer, and thus enabled himself to interpose the defense he now undertakes to set up. Until that is done, no defense can be madethatthe contract is illegal by reason of its being made upon Sunday.
The statute is imperative. The object to be accomplished by it was to compel a defendant to a Sunday contract to do equity. He cannot shield himself against its provisions requiring him to make restoration of the consideration received by him before interposing such defense, by the fact that his indorsement and delivery of the notes were not to the plaintiff, but to an intermediate party who also indorsed and delivered them to the plaintiff. The law among other things presumes an indorsement of negotiable paper to be for value. That value has not been restored and this defense cannot be allowed.
In accordance with the stipulation in the bill of exceptions, the entry must be,
Exceptions overruled. Judgment for plaintiff.
Peters, C. J., Virgin, Libbey and White house, JJ., concurred. Emery, J., did not sit.