One who indemnifies another against an act to be done by the latter is liable jointly with the person indemnified, and separately, to every person injured by such act.

SOURCE: CC § 2777.