Opinion by
Mr. Justice Brown,There is no fact in dispute in this case. By an agreement in writing, dated April 18, 1904, the appellees agreed to sell to the appellant and he agreed' to buy from them a lot of ground in the borough of Connellsville for $5,800. The property was encumbered by a mortgage for $2,100, which he agreed to assume, and the balance of the purchase money was to be paid as follows: $600 cash upon the signing of the agreement, $400 within two weeks, $1,350 in three months and $1,350 in six months, the deferred payments bearing interest. The contract provided that, “on failure of the second party to pay the purchase money, or any part thereof or the interest and taxes as above mentioned, then this agreement to be void, as it regards the the first parties, at their option.” By the terms of the agreement the appellees were authorized to enter judgment against the appellant for the purchase money, and a further provision authorized any attorney to confess *627judgment in ejectment against Mm upon Ms faiMre to pay it. The last installment was due on October 18, 1904, but up to that time the appellant had paid only $1,777 and some interest. Subsequently he paid the appellees $664.42 and interest. So far as can be gathered from the records, these payments were accepted by the appellees without complaint or protest, and the appellant was justified in believing that they would not insist upon strict compliance with the terms of the agreement so far as the times of payment were concerned. Up to June 12, 1906, he had paid them $3,005.36, which included $553.94 interest.
The appellees had two remedies under the agreement for the appellant’s default in paying the purchase money. In affirmance of their contract with him they could have entered judgment against him and enforced payment out of any property which he might have owned, including that which was the subject of the agreement. This they did not do, but, in accordance with the option which they had reserved to themselves in the agreement, they treated it as void, and on November 13, 1906, without giving the appellant notice that no further indulgence in making payment would be granted, and without tendering him a deed and demanding the balance of the purchase money, they entered a judgment m an amicable action of ejectment to recover possession of the property. Upon tMs judgment a writ of habere facias possessionem was duly executed and the appellees were put in possession of the property. The stipulation in the agreement that on the default of the appellant in paying the purchase money, or any part thereof, the appellees might, at their option, treat it as void, gave them the authority to rescind, and their action in summarily repossessing themselves of the property was a rescission of the contract between them: Campbell v. Hickok, 140 Pa. 290; Scott v. Hough, 151 Pa. 630; Seanor v. McLaughlin, 165 Pa. 150. If the appellees elected to treat the agreement as void, as they did, notMng is to be found in it, and nothing was devel*628oped at the trial, to justify their keeping the appellant’s money. The moment they exercised their option- to treat the agreement as void and to rescind their contract with the appellant, he was, in the absence of anything shown to the contrary, entitled to get back what he had paid. When they rescinded the agreement they could no longer derive any benefit, directly or indirectly, from it: Sanders v. Brock, 230 Pa. 609; and they were bound to place the plaintiff in statu quo by returning the purchase money which they had received from him.
In contending that the entry of judgment against the appellant in the amicable action of ejectment was a complete adjudication of the rights of the parties to the contract, and that he cannot, therefore, recover back what he paid on account of the purchase money, counsel for appellees overlook the plain terms of the agreement signed by them. They had the right, as already observed, to enforce payment of the balance of the purchase money, but they expressly reserved to themselves another right— to treat the agreement as void — with no right, however, if they should so treat it, to keep what the appellant had paid them on it. The rights of each of the parties must be found in the agreement, and, in the absence of anything therein authorizing the appellees to treat as forfeited to them the purchase money which the appellant paid them, and which they accepted from him before they undertook to rescind after they had the right to do so, their claim to retain it is no more favored by the law than in equity. Even if they had resold the property at a loss, they could not have retained out of the moneys paid them by the appellant more than sufficient to reimburse them for the loss sustained.
After directing a verdict for the plaintiff the court entered judgment for the defendants under the Act of April 22, 1905, P. L. 286, and cited Jones v. Scott, 209 Pa. 177, as authority for doing so. A very different question was presented in that case, and it has no bearing upon the question which was before the court below and *629is now before us on this appeal. All that was there decided was that the court below had not erred in opening a judgment entered against Scott in an amicable action of ejectment and restoring to him possession of the premises upon his paying the balance of the purchase money, counsel fees and costs. In the opinion of Mr. Justice Dean the reasons are stated which justified the equitable interference by the court. This appellant asked for no relief from the judgment and execution against him in the amicable action of ejectment. He acquiesced in what the appellees did under their right to treat the agreement as void; and he was bound to do so, for such was the agreement between them. All that the appellant now asks is that, as the appellees elected to treat as void their agreement to sell him the lot of ground, they return to him what he paid them on .account of the purchase money; and to this he is entitled. The assignments of error are sustained, the judgment is reversed and the record remitted, with direction that judgment be entered for plaintiff on the verdict.