COLUMBUS, Ohio (AP) — Ohio's attorney general resigned Wednesday under threat of impeachment because of a sexual harassment investigation in his office and his extramarital affair.

Attorney General Marc Dann, a Democrat elected in 2006 on an anti-corruption platform, said at a news conference that he had to resign to preserve the ability of the office to carry out the priorities he established.

"It is now clear to me that the only way to protect these priorities for the office of attorney general and for the people of Ohio is to remove myself from the situation," said Dann, 46, in Gov. Ted Strickland's ceremonial Statehouse room.