afterwards he is sent to vienna to work as a plenipotentiary minister of the duke