Important resistance movements to Western Imperialism included the Boxer Rebellion, fought against the colonial powers in China, and the Philippine–American War, fought against the United States, both of which failed. The Russo-Turkish War (1877–78) left the Ottoman Empire little more than an empty shell, but the failing empire was able to hang on into the 20th century, until its final partition, which left the British and French colonial empires in control of much of the former Ottoman ruled Arab countries of the Middle East (British Mandate of Palestine, British Mandate of Mesopotamia, French Mandate of Syria, French Mandate of Lebanon, in addition to the British occupation of Egypt from 1882). Even though this happened centuries after the West had given up its futile attempts to conquer the "Holy Land" under religious pretexts, this fueled resentment against the "Crusaders" in the Islamic world, which along with the nationalisms hatched under Ottoman rule, contributed to the development of Islamism. The expanding Western powers greatly changed the societies they conquered. Many connected their empires via railroad and telegraph and constructed churches, schools, and factories. Great powers and the First World War: 1870–1918 By the late 19th century, the world was dominated by a few great powers, including Great Britain, the United States, and Germany. France, Russia, Austria-Hungary, and Italy were also great powers. Western inventors and industrialists transformed the West in the late 19th century and early 20th century. The American Thomas Edison pioneered electricity and motion picture technology. Other American inventors, the Wright brothers, completed the first successful airplane flight in 1903. The first automobiles were also invented in this period. Petroleum became an important commodity after the discovery it could be used to power machines. Steel was developed in Britain by Henry Bessemer. This very strong metal, combined with the invention of elevators, allowed people to construct very tall buildings, called skyscrapers. In the late 19th century, the Italian Guglielmo Marconi was able to communicate across distances using radio. In 1876, the first telephone was invented by Alexander Graham Bell, a British expatriate living in America. Many became very wealthy from this Second Industrial Revolution, including the American entrepreneurs Andrew Carnegie and John D. Rockefeller. Unions continued to fight for the rights of workers, and by 1914 laws limiting working hours and outlawing child labor had been passed in many Western countries. Culturally, the English-speaking nations were in the midst of