Complex sentence: These elections were partisan until 1909, when the Montana Legislature enacted legislation that prohibited partisan filings by judicial candidates, who were instead required to be nominated by citizen petition.
Split into simpler sentences: These elections were partisan until 1909, when the Montana Legislature enacted the Nonpartisan Judiciary Act. This prohibited partisan filings by judicial candidates and required that they instead be nominated by citizen petition.