Republicans could end up having to share power with Democrats for the next two years in the state Senate.