If the parties have compromised and settled the matter amongst themselves in the given facts and circumstances then the courts have the power to quash the complaint otherwise it will cause a prejudicial effect on the accused and would lead to grave injustice to the accused.