Leopold I, Emperor of Germany, having repulsed a Turkish invasion in 1683, joined the League of Augsburg in 1686.