What is the ruling regarding a person who embraces Islam while he is a party to an usurious contract?

Ribaa deprives wealth of all blessing and is bound to lead to economic crises. What is the ruling regarding a person who embraces Islam while he is a party to an usurious contract? This involves two cases: If he is the party that takes interest, he is only entitled to…