(CNN) -- A former mayor of a city in southeast Wisconsin pleaded innocent Tuesday to charges of child pornography, solicitation of a minor and related counts, a prosecutor said. Gary Becker, former mayor of Racine, Wisconsin, is charged with soliciting someone he believed was a girl. Former Racine Mayor Gary Becker, who was arraigned Tuesday, could face a sentence of up to 164 years if convicted on all counts, District Attorney Michael Nieskes told CNN. He was still in office when he was arrested last month at a shopping mall in Brookfield, Wisconsin. He allegedly tried to meet with a person he thought was a 14-year-old girl after chatting with that person online, said Bill Kosh, a spokesman for the Wisconsin attorney general's office. An officer posed online as the underage girl, according to authorities.
@highlight
NEW: A former mayor of Racine, Wisconsin, arraigned Tuesday
@highlight
NEW: District attorney: Gary Becker could face 164 years in prison if convicted
@highlight
Becker is charged with sex crimes, including possession of child porn
@highlight
Prosecutors say he used online chat to solicit what he thought was underage girl
Wisconsin
Wisconsin
Wisconsin
Wisconsin
Wisconsin
The computer technician hired by his office discovered six pornographic images of girls "possibly under the age of 18 years," according to @placeholder criminal complaint.