According to a Philadelphia elections official, hundreds of individuals who are not U.S. citizens have registered to vote in Philadelphia and nearly half of them voted in past elections. Since 2006, 317 registered voters have contacted the City Commissioners, which oversees Philadelphia elections, asking that their registrations be canceled because they are not citizens.

Philly.com reported that many of them registered while either applying for or renewing their driver’s licenses. All applicants were offered the option to register to vote even after providing documentation to DMV officials that although they were in the country legally, they were not citizens.

Al Schmidt, the lone Republican on the Philadelphia election commission, said that all 317 registrations have been canceled and he has been speaking with the Pennsylvania Department of State about the problem.