Sex with a married lady aged 37 years

My friend had an illegal relation with a married lady who is the mother of 2 boys aged 17 and 14 years respectively. The lady was not legally divorced but was staying separately. My friend used to pay her and some times even had night stand in her home. This was known to her parents also who are staying near by. Upon the relation continue the lady started demanding more cash/ furniture etc. My friend started keeping distance but this lady threatens and informed my friend's wife regarding this relation. She informed that my friend cheated her by hiding the fact that he was married and given her false commitment to marry and raped her. Finally she charged an FIR and my friend was in Jail for at least 70 days and finally got bail from High Court. After the bail she again created so much problems and complained in HC stating that he and his wife tried to hit her in the court complex and cannot be able to come in the court for giving her statement. Her motive was to settle the case for money. In the trial she again accused that after getting bail my friend went to her house and again raped her. She also stated in the trial that she used to come with her in many hotels and had sex without her consent many times. In the trial she was declared as hostile and I don't know what was the reason even though she had accused many baseless this in the trial. My question is since she is already a married lady mother of 2 sons, how the police accepted her complaint and filed an FIR against my friend and jailed him chaging IPC 376. She had couple of photos with my friend which was produced in the court as proof of love between them.Can we quash this case since this is a baseless allegation and most of the victims are her parents/both son and her close friends. Kindly advise the outcome of these case. The trial is going on the session court and 2 witness are still to come.