Her lawyer says in a court filing made public Friday that the agreement at the heart of the suit was “unlawful.”

Song writer and music producer Rob Fusari filed the lawsuit Wednesday in New York City against the Grammy Award-winning performer. He said his protege and former girlfriend ditched him as her career soared.

The suit says they co-wrote songs such as “Paparazzi” and “Beautiful, Dirty, Rich.” Fusari also says he came up with her stage name and helped get her record deal.

Lady Gaga won two Grammys in January: best dance recording, for “Poker Face,” and best electronic/dance album, for The Fame.