After Bismarck's departure, Wilhelm II assumed direct control over his nation's policies and embarked on a bellicose "New Course" to cement its status as a respected world power. Subsequently, over the course of his reign, Germany acquired territories in China and the Pacific (such as Kiautschou Bay, the Northern Mariana Islands, and the Caroline Islands) and became Europe's largest manufacturer. However, he frequently undermined such progress by making threatening statements towards other countries and voicing xenophobic views without consulting his ministers. Likewise, his regime did much to alienate itself from the world's other powerful nations by initiating a massive naval build-up, challenging French control of Morocco, and building a railway through Baghdad that threatened Britain's dominion in the Persian Gulf. Thus, by the second decade of the 20th century, Germany could rely only on significantly weaker nations such as Austria-Hungary and the declining Ottoman Empire as its allies.