California Code
CHAPTER 1 - Attorneys and Counselors at Law
Section 284.

284. The attorney in an action or special proceeding may be changed at any time before or after judgment or final determination, as follows:

1. Upon the consent of both client and attorney, filed with the clerk, or entered upon the minutes;

2. Upon the order of the court, upon the application of either client or attorney, after notice from one to the other.

(Amended by Stats. 1967, Ch. 161.)