Complex sentence: In establishing such ethical codes, the profession has responded to a number of controversies about the practice of psychiatry, for example surrounding use of lobotomy and electro-convulsive therapy.
Split into simpler sentences: In establishing such ethical codes, the profession has responded to a number of controversies about the practice of psychiatry. Controversy has surrounded the use of lobotomy and electro-convulsive therapy.