With the rise of the Nazis to power in 1933, the Bavarian parliament was dissolved without new elections. Instead, the seats were allocated according to the results in the national election of March 1933, giving the Nazis and its coalition partner, the DNVP, a narrow two-seat majority due to the fact that the seats won by the KPD were declared void. With this controlling power, the NSDAP was declared the only legal party and all other parties in Germany and Bavaria were dissolved.