Answer:
Praise be to Allah, the Lord of the World; and blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
You have the right to get your maintenance for the three years you spent as a wife to this man. He must give you back your rights and you are permitted to put this case in court if he refuses to abide by this rule.
Allah knows best.