Whenever any employer is insured against liability for compensation with any insurer, such insurer is subrogated to the rights of the employer to recover losses arising out of any of the following acts by the insurer:

(a) Assuming the liability of the employer for compensation in the manner provided by the law relating thereto.

Terms Used In California Insurance Code 11662

(b) Payment of any compensation for which the employer is liable.

Such insurer may enforce any such subrogated rights in its own name.

(Enacted by Stats. 1935, Ch. 145.)