Opinion by
Beaver, J.,The plaintiff claims to recover upon the following receipt or agreement in writing:
“ Philadelphia, November 28th, 1898.
“ Received from William S. Kimball, Esq., the following title papers relating to ground rent — -$120—out of premises No. 5222 Thompson St. :
“1. Original G. R. rent deed (counterpart).
“ 2. Recorder’s receipt for deed Sherman to Kimball.
“ 3. Deed William S. Kimball to Reuben Haines.
“ Proceeds of said ground rent, as assigned to Haines, to be paid to said Mr. Kimball, less $650, to be applied to payment of incumbrances.”
From this agreement, in connection with the averments in the plaintiff’s statement, it is clear (a) that Kimball received the ground rent from Sherman; (5) that, although claiming to be the owner, he assigned, not sold, it to Haines; (<:') that proceeds of said ground rent as assigned to Haines were to be paid to Kimball, less amount to be applied to prior incumbrances.
The affidavit of defense, in connection with the agreement between Sherman and the Equitable Brick Manufacturing Company, Limited, of which Kimball was the president, sets forth in detail the agreement between Sherman and Kimball on the one hand and of Sherman and Haines for the purchase of the ground rent on the other. By the agreement with Haines, Sherman was to sell him a ground rent free of incumbrances upon an unfinished house and to allow him to retain $1,000 in his hands as a guarantee for the completion of the house. In the agreement between Sherman and Kimball it is expressly provided : “ Should any of said ground rents be disposed of before the house upon which it is secured is completed, the said George W. Sherman shall procure a guarantee of completion by the said Commonwealth Title Insurance Company at his expense. All other expenses of transfer to investers, including broker’s commissions, conveyancing expenses, etc., shall be borne by the said Kimball and Sherman in the proportion of their interests in said ground rent.” The agreement to sell the ground rent to Haines was made subsequent to the agreement between Sherman and Kimball. It is, therefore, clear that Kimball’s rights *22as against Haines rise no higher than those of Sherman. If Haines were the defendant, the defense set up would be valid and sufficient.
Subsequent to the date of the receipt from the defendant to the plaintiff, defendant purchased from Haines “ the said ground rent and also all his interest in the funds in the defendant’s hands which were left to guarantee the completion of the building.” There was nothing in the written receipt or agreement of the defendant to the plaintiff which prevented it from doing this. Having done so, the defendant succeeded to the rights of Haines. Whatever defense Haines could have set up to the payment of the balance of the ground rent as against the plaintiff, the defendant can set up under its receipt which provides that “ The proceeds of said ground rent, as assigned to Haines, to be paid to said Kimball.” Haines having retained $1,000 in his hands as a guarantee for the completion of the house and the defendant having expended more than that amount in its completion, there was nothing of the ground rent assigned to Haines due.
The defense does not, as alleged by the plaintiff, contradict the written paper which the defendant signed. It arose subsequent to the date of the paper and is not in any way contradictory of it.
Taking the plaintiff’s statement and the affidavit of defense, with the copies of the written agreements thereto attached and assuming that all the averments therein contained are true, it seems to us clear that Haines would have had a good defense against Sherman, if the latter bad claimed the $1,000 left in Haines’s hands as a security for the completion of the house; and, inasmuch as the plaintiff and defendant stand toward each other in substantially the same relation as did Sherman and Haines, we think the affidavit sets forth a good and substantial defense. It is true that the particular property — 5222 Thompson street — out of which the ground rent purchased by Reuben Haines issued, is not one of those mentioned in the agreement between Sherman and Kimball, as president of the Equitable Brick Company. The affidavit avers, however, that this particular property was substituted for one of the others under an arrangement of which the defendant has no knowledge. This is not as specific as it might be; but, inasmuch as that was a *23transaction between Sherman and the plaintiff, and defendant has no certain means of ascertaining how it was done in advance, we do not think this should be regarded as a fatal defect.
Taking the case, as it is presented to us, if the facts developed in the trial sustain the averments in the affidavit of defense, we think they will raise a question which must be submitted to a jury. Judgment reversed and a procedendo awarded.