A lawsuit has been filed to challenge the decision by Rep. Sean Patrick Maloney, D-New York, to run at the same time to be New York’s next attorney general and to hold his seat in Congress.

Maloney has said he will seek re-election to his seat in the House if he loses the September primary for state attorney general. He believes that decision does not violate state law, but a group of seven residents, including his Republican opponent in the House district, disagreed in the lawsuit filed this week.