candidate: In September 1923 , following a period of turmoil and political violence , Prime Minister Eugen von Knilling declared martial law and appointed Gustav von Kahr , " Staatskomissar " ( state commissioner ) , with dictatorial powers .