Jonathan Katz, the secretary of the Securities and Exchange Commission for 23 years who is retiring next month, will be replaced by an SEC attorney, the agency announced Wednesday.

Nancy Morris will succeed Katz as secretary, the official responsible for coordinating the work of the five SEC commissioners.