Wendy Rosen, the Democratic challenger to Republican Rep. Andy Harris in the 1st Congressional District, withdrew from the race Monday amid allegations that she voted in elections in both Maryland and Florida in 2006 and 2008.

It was unclear, however, whether she could remove her name from the ballot with the election less than two months away. Under state law, a candidate has until 70 days before an election to remove his or her name from the ballot. The deadline for the Nov. 6 election passed on Aug. 28.

Democratic leaders — who raised the allegations, urged Rosen to step aside and notified prosecutors — said they would gather Central Committee members this month to identify a write-in candidate for the district, which includes the Eastern Shore and parts of Harford, Carroll, Cecil and Baltimore counties.

Republicans, meanwhile, said the allegations prove that voter fraud is real and called on Democrats to join the GOP in calling for reforms.

Rosen, 57, a Cockeysville businesswoman and Maryland voter, told The Baltimore Sun that she registered to vote in Florida several years ago in order to support a “very close friend” running for the St. Petersburg City Council and to vote on local issues there.

Rosen said she was able to register in Florida because she owned property there.

Under Maryland law, a voter here may not maintain registration in a second state if it allows the voter to participate in state or federal elections there, according to Jared DeMarinis, director of candidacy and campaign finance at the State Board of Elections.

State Democratic Chairwoman Yvette Lewis said an examination of voting records in Maryland and Florida showed that Rosen participated in the 2006 general election and the 2008 primaries in both states.

Maryland and Florida both held gubernatorial and congressional contests in 2006 and presidential primaries in 2008, when Barack Obama and Hillary Clinton competed for the Democratic nomination.

Asked by The Sun on Monday if she had voted in both states in the same elections, Rosen said she did not remember how she voted. Asked if she had voted twice in the 2008 presidential primaries, she declined to comment “due to possible litigation.”

“We believe that this is a clear violation of Maryland law and urge the appropriate office to conduct a full investigation,” she wrote. “The Maryland Democratic Party strongly believes in upholding and expanding the right to vote but, at the same time, believes there should be zero tolerance for voter fraud of any kind.”

DeMarinis, the state elections official, said there are narrow circumstances under which a Maryland voter may register legally in two places.

Some municipalities maintain separate voting rolls for local elections. These allow property owners — even those that live and vote elsewhere — to register and participate in elections for local offices and ballot questions.

Thus, DeMarinis said, a resident of Baltimore who owned a vacation home in Ocean City could legally vote in local elections there, too.

DeMarinis said he knows of no law against a Maryland voter participating in local elections in another state. But an out-of-state registration that permitted participation in state and federal elections would be illegal, he said.

A spokesman for Maryland Democrats said party leaders were told of Rosen’s dual registration by someone within the party on Friday. After verifying the details over the weekend, spokesman Matthew Verghese said, the leaders confronted Rosen on Monday.

Rosen was seen as the underdog to Harris, a 55-year-old physician from Baltimore County who is serving his first term in Congress. The district that has grown more solidly Republican since Harris ousted Democratic Rep. Frank Kratovil in 2010.

Still, she mounted a highly visible effort to promote her candidacy in July at the annual J. Millard Tawes crab feast in Crisfield.

At the time, she told a reporter she believed Harris was vulnerable to a challenge because of unpopularity among voters.

She traveled to Charlotte, N.C., last week for the Democratic National Convention. At a Maryland Democratic party luncheon at that city’s Mint Museum, she stood up to be recognized and receive applause.

Rosen edged Chestertown physician John LaFerla in the Democratic primary in April by just 57 of the more than 25,000 votes cast.

She withdrew from the general election in an email to party leaders.

“I have been proud to serve as the Democratic Congressional Candidate of Maryland’s 1st Congressional District for the last five months, so it is with great regret, and much sorrow that I must resign,” she wrote. “Personal issues have made this the hardest decision that I have had to make.”

Harris campaign manager Kathy Szeliga said Rosen’s withdrawal “must not delay our troops serving oversees from getting their ballots and exercising their right to vote in such an important presidential election.”

Rosen’s withdrawal comes during an election season in which Republicans across the country have cited voter fraud to push for new identification requirements at the polls.

Democrats say voter fraud is virtually nonexistent, and describe voter ID laws as a pretext to make it more difficult for the poor, minorities and other traditionally Democratic-leaning groups to vote.

The Maryland Republican Party said Monday it was “happy to see Maryland’s Democrats publicly agree that voter fraud is wrong.”

“Maryland Attorney General Doug Gansler and Florida Attorney General Pam Bondi should not only investigate but also prosecute Wendy Rosen to the fullest extent of the law,” David Ferguson, the executive director of the state party, said in a statement.

Given that the state Democratic Party was “willing to push one of its own candidates out of the race due to voter fraud,” Ferguson said, “I’m sure this means they will join us in an effort to purge the rolls across Maryland of illegal immigrants, the deceased, and those otherwise unqualified to vote.”