A Connecticut woman flipped the script against CitiMortgage for attempting to foreclose on her home by taking the company to court this week for allegedly violating state and federal foreclosure laws.

The suit filed in U.S. District Court in New Haven seeks damages for so-called dual tracking of a distressed mortgage, which is barred by a 2014 modification to the Real Estate Settlement Procedures Act made by the Consumer Financial Protection Bureau. Dual tracking is when a lender pursues foreclosure during loss mitigation.