132. Election to treat agent as principal.

Where the other contracting party, whether in ignorance of the principal's existence or not1, obtains a judgment against the agent2, or, though he knows3 at the time when the contract is made4, or discovers afterwards5, who the real principal is, elects to look to the agent to the exclusion of the principal, the principal is discharged from liability to the third party and his liability cannot be revived