Deposed by the Russians in 1736 , Stanislas had the good fortune to be Louis XV 's father-in-law and was given the Duchy of Lorraine as compensation .
Stanislas would have been killed if he were not the father in law of Louis XV .