An attorney and counselor at law has power to execute in the name of his client a bond or other written instrument necessary and proper for the prosecution of an action or proceeding about to be or already commenced; or for the prosecution or defense of any right growing out of an action, proceeding, or final judgment rendered therein.
SDCL 16-18-9