context: In the Vienna Peace of 1738, Frederick Augustus was recognized by the Polish king as August III, and Leshchinsky received the Duchy of Lorraine; in exchange, France recognized the Pragmatic sanction, according to which the successor of the Holy Roman Emperor Charles VI recognized his daughter Maria Theresa in hereditary possessions, and her husband Franz I Stefan, who refused his native Lorraine in favor of Stanislav, was to become the emperor.
question: Who became the king of the Commonwealth after the war for the Polish inheritance?
answers.text: August III