James Cooper will be Oklahoma City’s first openly gay councilman, winning a five-way race in Tuesday’s primary to take inner-northwest’s open Ward 2 seat.

JoBeth Hamon will succeed retiring Meg Salyer as the central city’s councilwoman in Ward 6 on the strength of a grassroots campaign that topped a far better-funded competitor.

Voters in northwest and southwest Oklahoma City chose to stick with names they knew, electing Mark Stonecipher to a second term from Ward 8 and David Greenwell to a third term from Ward 5.

Cooper, 36, was making his second bid for the Ward 2 seat after losing four years ago to Ed Shadid, who is retiring after eight years on the council.