SANTA FE (AP) — The city of Santa Fe has released the names of dozens of people who recently surrendered guns to police despite promises of anonymity.

The Santa Fe New Mexican reports the city released this week to a city finance committee a list of people who got IOUs when they surrendered their guns at police headquarters after the city's gun buyers ran out of pre-paid Visa gift cards.

Among the names released were Brian Egolf, a Santa Fe lawyer and Democratic state legislator, who surrendered a Russian-made assault rifle and two handguns.

Santa Fe Police Chief Ray Rael says that he was surprised the names were made public because he was told all gun sellers at events held Jan. 12 and Feb. 9 would remain anonymous.