Section 237(6) in The Code of Criminal Procedure, 1973
(6)No person who has been directed to pay compensation under sub-section (4) shall, by reason of such order, be exempted from any civil or criminal liability in respect of the complaint made under this section :Provided that any amount paid to an accused person under this section shall be taken into account in awarding compensation to such person in any subsequent civil suit relating to the same matter.