During the final phase of the Thirty Years' War,

Habsburg Austria had no allies, and France was allied with Spain and Sweden.
France was allied with Spain, and Sweden was allied with Habsburg Austria.
France was allied with Sweden, and Habsburg Austria was allied with Spain.
Spain was allied with Sweden, and France was allied with Habsburg Austria.
France had no allies, and Spain was allied with Sweden and Habsburg Austria.