John DeVito, a 25-year-old law student from Mastic Beach, won a three-way Democratic primary Tuesday, earning a spot on general election ballots to challenge freshman New York State Sen. Tom Croci (R-Sayville), according to unofficial results from the board of elections. That race was one of five Democratic primaries for state Legislative seats on Long Island. In the other four—two state Assembly seats each for Nassau and Suffolk counties—challengers were unsuccessful against three incumbents and a party nominee to fill a vacancy.

Registered Democratic voters will cast their ballots Tuesday in five Long Island primary races that will decide which New York State legislative candidates are among the choices on Election Day. The match-ups include a three-way Democratic primary in the lone LI state Senate race on September ballots and four primaries in local state Assembly races—two in Suffolk County and two in Nassau.