CCP 3863     

Art. 3863.  Person against whom writ directed

A writ of mandamus may be directed to a public officer to compel the performance of a ministerial duty required by law, or to a former officer or his heirs to compel the delivery of the papers and effects of the office to his successor.