Fairfax County fired one of its assistant county attorneys on Friday because she won election last month to the Fairfax City Council, which allegedly created an unavoidable conflict of interest in legal matters that might involve the city and the county, according to the dismissal documents.

Nancy Fry Loftus worked on the staff of County Attorney David Bobzien for 17 years, mostly in tax collection and bankruptcy cases. A Fairfax City native, she said that in early February she asked Bobzien verbally and in writing if she could run for council in the jurisdiction of 23,000. “He said, ‘Great, good for you,’ ” Loftus said Friday. She said Bobzien suggested she speak with the deputy county attorney for personnel, who told her, “Not only can you run, we can’t prohibit you from running.”

Bobzien was not available for comment Friday, but his correspondence in the case, including his 12-page dismissal letter to Loftus, was released by her attorney, Chap Petersen, a Virginia state senator and former Fairfax City Council member.

Petersen said Loftus’s firing was “a fairly blatant violation of both Virginia law and her First Amendment right to participate in the political process.” He said he was “considering all legal options.”

In a Feb. 12 e-mail, Bobzien first raised his concern that Loftus might have a conflict of interest if she served on the Fairfax City Council. Loftus immediately responded that, under Virginia law, the county could not prevent an employee from running. “No need to discuss further,” Bobzien replied. “I see and accept your point.”

Loftus launched her campaign, and said she had jovial conversations with her boss about it. But on April 17, three weeks before the election, Bobzien sent her a memo telling her she would be terminated if she won.

Bobzien wrote that he had consulted with the state Bar’s ethics counsel, and that Loftus’s election in Fairfax City would create “a conflict that would be imputed to every attorney in this Office” in cases involving Fairfax City. Bobzien cited numerous examples in which the city and the county might be on opposite sides of the legal table, including the recently concluded “water wars” dispute between Fairfax County and Fairfax City, zoning battles, tax disputes and issues involving policing, health services and libraries.

Bobzien also said that as a Fairfax City Council member Loftus could not lobby the state legislature, and therefore no one in his office could lobby in Richmond.

Loftus stayed in the race and on May 6 won election to the part-time post, which pays $4,500 annually. Her job with the county pays about $85,000 annually.

Loftus said on May 29 her computer access was shut down and she was told to leave the office. Petersen sent a letter to Bobzien, asking in part about the county attorney’s earlier guidance seemingly supporting her candidacy. “I apologize if you were misled by the apparent ambiguity,” Bobzien wrote. “I have never disputed that [Virginia law] bars localities from prohibiting its employees from participating in political activities. . . . There is no right, however, under the First Amendment or otherwise that guarantees that an attorney can hold public office.”

In other words, she could legally run, but she could not legally win.

Couldn’t she recuse herself from matters involving both sides? Bobzien cited an ethics counsel’s opinion that “the public official’s disclosure, recusal and non-participation in [a] matter brought by her law firm does not cure the conflict from a legal ethics standpoint.”

Petersen said interpreting state law that a government employee may run for office, but may not hold office, “would negate the entire statute. The ethical opinions that they cite are not relevant. They deal with situations where an attorney works with a particular law firm that lobbies that governing body.”

Fairfax County Supervisor Pat Herrity (R-Springfield) said he was disappointed by Loftus’s firing. “I don’t think the county should be terminating employees because they were elected by the people,” he said. He said he suggested simply transferring Loftus from the county attorney’s office to the office of tax administration, “which would eliminate the conflict.”

Loftus was placed on paid leave May 29, and received notice Friday afternoon that she was terminated. She was sworn in to the Fairfax City Council last week, and formally takes her seat Tuesday.

“I’m in shock and I’m heartbroken,” she said. “I held out hope that they weren’t going to do this. I loved my job for the county. I love my home town. I wouldn’t have run for City Council if I didn’t think it was important.”