When the Buddha first established the Sangha, the community initially lived in harmony without any codified rules of conduct. As the Sangha gradually grew in number and evolved into a more complex society, occasions inevitably arose when a member would act in an unskillful way. Whenever one of these cases was brought to the Buddha's attention, he would lay down a rule establishing a suitable punishment for the offense, as a deterrent to future misconduct. The Buddha's standard reprimand was itself a powerful corrective: