Ян III Собеский
His former lover was Maria Karolina Sobieska, grand daughter of John III Sobieski.