France and the Ottoman Empire, united by mutual opposition to Habsburg rule, became strong allies