In the years leading up to World War I, European nations formed alliances to achieve ________.