Rep. Henry Cuellar has been sued by a former staffer who says she was fired after telling him she was pregnant.

The staffer, who filed a federal lawsuit in the Washington on Monday, said Cuellar’s actions were a violation of the Congressional Accountability Act.

The lawsuit was first reported by The Associated Press.

Kristie Small said she was working 10 hours per day as Cuellar’s acting chief of staff and sending the congressman daily status reports on her work. Small informed him in an Aug. 8 email she was pregnant, and would like to take maternity leave, the lawsuit says.

Cuellar responded by informing Small, who was hired that June, that her continued employment was contingent on a 90-day “probation period” for new hires.