To the general rule that a summons cannot be served out of the county of the justice before whom the action is brought, there are certain exceptions, one of which is, “ when an action is brought against a party who has contracted to perform an obligation at a particular place, and resides in a different county, in which case the summons may be served in the county where he resides.” (C. C. P., § 848.)
By subdivision 7 of section 832, id., it is provided : “ When a person has contracted to perform an obligation at a particular place, and resides in another county, township or city, in the township or city in which such obligation is to be performed, or in which he resides, and the township or city in which the obligation is incurred shall be deemed to be the township or city in which it is to be performed, unless there is a special contract to the contrary.”
The plaintiff in the action which the appellant seeks to have the justice prohibited from proceeding in, alleged that the ob*443ligation which constituted the basis of the action was to be performed in Los Angeles—that such was the contract. Such being the fact, it was optional with the plaintiff in the action to bring it in the township or city where the obligation was to be performed, or in which defendant resided.
It is claimed that the action was not brought upon a contract, but to recover damages for the breach of a contract. Still, the contract constituted the basis of the action, and the right of action is one arising out of it.
We discover no repugnancy between the provisions above cited and those contained in section 106, id. Repeals by implication are not favored, and in our opinion there is nothing here to support such an implication.
Judgment affirmed.
Thornton, J., and Myrick, J., concurred.