SCRANTON — City Councilman Tom Schuster, a Democrat, won reelection Tuesday, but council President Gerald Smurl, running as an independent, lost, according to unofficial results.

In a race with three four-year terms available and six candidates on the ballot, voters also selected Democrats Patrick Flynn and Sean McAndrew.

Rounding out the field, Republicans Marc Pane and Virgil Argenta also lost.

Flynn, Schuster and McAndrew — who all won the Democratic primary in May — topped the six-way race Tuesday as follows:

• Flynn received 10,197 votes to top the field.

• Schuster came in second place with 8,787 votes.

• McAndrew placed third, with 7,846 votes, to also win a seat.

• Smurl, who lost in fourth place with 5,223 votes, had dropped out of the Democratic primary because of problems with his candidate-filing petitions but then ran for reelection as an independent.

• Pane, who won the GOP primary, came up short in the general election with 4,562 votes, for a fifth-place finish.

• Argenta, who lost in the Democratic primary but received enough GOP write-in votes to be on the general election ballot as a Republican, trailed with 3,107 votes.

As the three winners in Tuesday’s election, Flynn, Schuster and McAndrew will join on council the two members who were not up for reelection this year: Jessica Rothchild and Mark McAndrew, who is Sean McAndrew’s uncle.

Councilman Bill King did not seek reelection.

The three council seats that were on the ballot were those held by King, Schuster and Smurl.

With Smurl and King gone from council next year, and Flynn and Sean McAndrew joining the board, the city’s legislative branch will have a new makeup.

Meanwhile, Mayor Paige Gebhardt Cognetti, a Democrat, won a resounding victory in Tuesday’s election over three challengers.

During the campaigns, Cognetti endorsed for council only Smurl, who was on the ballot as an independent and who generally had been a reliable ally of the mayor’s on council. Smurl ran campaign ads saying he also was endorsed by King and Rothchild.

Cognetti has announced a run for Congress in next year’s midterm election against U.S. Rep. Rob Bresnahan, R-8, Dallas Twp. Cognetti first would have to win the Democratic primary to advance to the 2026 general election ballot.

During the council race, Flynn, Schuster and McAndrew all said they would be able to work with whoever would be mayor in the future. Contacted by phone Tuesday night, each of the council winners said they would work with Cognetti to better the city.

“I look forward to working with her. Anything that I can do to help move this city forward, I am more than happy to do,” Flynn said. “The bottom line for me is — as I always said in this campaign — I want to leave Scranton better than I found it.”

Schuster said, “Any mayor that’s in there, I’ll be working with them. I worked with Paige in the past on the school board and on council, and look forward to working with her again.”

McAndrew added, “I will work with whoever the mayor is. I’ll agree when needed and sometimes agree to disagree, and hopefully there will be times when we can compromise.”