The 1987 North Dakota Legislative session was historic. Democrats, who already controlled most state offices and the congressional delegation, won control of the North Dakota Senate for the first time. In the Minot-area District 5 Senate race, Democrat Larry Schoenwald beat Republican Mike Timm by a mere 5 votes. That led to a legal fight that went to the state Supreme Court, with plaintiffs arguing that over 29 voters cast ballots in the wrong district, but the court ruled that only the Legislature can decide contested elections. The ruling handed victory, and control of the Senate to the Democrats, giving them 27 seats to 26. Republicans still controlled the House, 61 to 45.