State officials also accused the Trump administration of trying to cast doubt on the integrity of U.S. elections.