Sobieski was elected king of Poland , but his attentions to battles against the Turks at the expense of domestic affairs did not bode well for him and Poland .
Sobieski became the dictator of Poland when he overthrew the government .