Before the Nov. 8 general election, Democrats in the New York state Senate have found themselves linked to state and federal investigations examining whether New York City Mayor Bill de Blasio and his allies violated laws as part of a 2014 unsuccessful effort to bring the chamber under Democratic control.