Republican Jim Nielsen wins election to open state Senate seat