A date has been set for the special elections to fill the seats vacated by Brooklyn Assemblyman Karim Camara and Congressman Michael Grimm.

Governor Andrew Cuomo says they will take place on May 5.

Assemblyman Camara submitted a letter to the Assembly Speaker's office Friday, announcing his resignation.

He is leaving the state Assembly and is expected to join the Cuomo administration.

The governor plans to hold special elections to fill both Camara and Grimm's seats at the same time.

Staten Islanders have been complaining about how long it has taken Cuomo to make an announcement. 

Earlier this week, a federal judge ordered the governor to set the date by noon Friday after several voters in the district sued the governor claiming they were being disenfranchised by the delay.

Citing the cost of special elections, Cuomo claimed he had been waiting for another vacancy to set the date, a vacancy that was created by Camara's resignation.

Grimm represented Staten Island and parts of Brooklyn before his resignation last month.

It's up to the county leaders to officially nominate their candidates.

Staten Island republicans have already selected Staten Island District Attorney Dan Donovan while Democrats have had some difficulty finding a viable nominee. Currently, they are considering three candidates: City Councilman Vincent Gentile and State Assemblyman Bill Colton - both of which are from the smaller portion of the district in Brooklyn - and Robert Holst, a union member and electrician on Staten Island.

Democrats are expected to meet early next week to select their candidate.