In ancient criminal justice system of human civilization

In ancient criminal justice system of human civilization, if there was any occurrence of any wrong doings, personal revenge was the only way for punishing the offender and at that time laws were also outlined with the end goal to repay the victim not for punishing the accuse. The person harmed due to wrongdoings proceeds against the wrong-doer by an ordinary civil activity and he may recover equal amount of compensation in the form of money for his harm. In the ancient Hindu Law, punishment for crimes occupied a more significant place rather than paying compensation for wrong doings.
In recent couple of decades impact of crime or exploitation on the sufferer people drew the attention of the criminologists and criminal law workers over the world and they starting thinking and emphasizing on the fact that victim should have been treated with much sympathy and in addition their poise and essential rights must be perceived and secured.
In medieval times of history, when a man reoccur loss because of wrongdoing, he himself needs to take initiatives for seeking justice and justice was accomplished through compensation. That time the wrongdoer was punished with equivalent amount of hurt caused to victim and he needs to pay compensation equal to the harm caused against the victim. At that time justice was only based on compensation grounds and punishment was only in form of compensation.