in accord with the guideline engrafted in such power viz: (i) to secure the ends of justice, or (ii) to prevent abuse of the process of any court. In what cases power to quash the criminal proceeding or complaint or FIR may be exercised where the offender and the victim have settled their dispute would depend on the facts and circumstances of each case and no category can be prescribed. However, before exercise of such power, the High Court must have due regard to the nature and gravity of the crime. Heinous and serious offences of mental depravity or offences like murder, rape, dacoity etc. cannot be fittingly quashed even though the victim or victim's family and the offender have settled the dispute. Such offences are not private in nature and have a serious impact on society. Similarly, any compromise between the victim and the offender in relation to the offences under special statutes like the Prevention of Corruption Act or the offences committed by public servants while working in that capacity, etc.; cannot provide for any basis for quashing criminal proceedings involving such offences. But the criminal cases having overwhelmingly and predominatingly civil flavour stand on a different footing for the purposes of quashing, particularly the offences arising from commercial, financial, mercantile, civil, partnership or such like transactions of the offences arising out of matrimony relating to dowry, etc. or the family disputes where the wrong is basically private or personal in nature and the parties have resolved their entire dispute. In this category of cases, the High Court may quash the criminal proceedings if