COLUMBIA -- The State Election Commission knew it was using inaccurate data when it released reports showing that nearly 240,000 active and inactive voters lacked driver's licenses or ID cards and could face problems voting in person under a new state election law, a South Carolina motor vehicles official said Thursday.

The law, which has been taken under review by the U.S. Department of Justice, requires the state to determine how many voters lack state-issued IDs so that the Election Commission can work to make sure they know of law changes.

The DMV will issue free state photo identification cards to those voters.

On Wednesday, Department of Motor Vehicles Executive Director Kevin Shwedo sent an analysis to S.C. Attorney General Alan Wilson showing that 207,000 of those voters live in other states, allowed their ID cards to expire, probably have licenses with names that didn't match voter records or were dead.

Election Commission spokesman Chris Whitmire said the agency will eliminate nearly 60,000 deceased people and individuals whose names didn't match DMV records.