Legal ethics govern the conduct of legal professionals. They aim to uphold the honor and dignity of the profession to promote justice. In ancient Greece and Rome, advocacy existed but there were no formal ethical standards. In the US and India, written ethical codes were established for advocates in the early 20th century and post-independence, respectively. Legal ethics apply specifically to lawyers and violations result in discipline. They seek to ensure fair and honest treatment of clients, opponents, and the court through obligations like avoiding conflicts of interest and maintaining confidentiality. This upholds the justice system and prevents a breakdown in society.