Japan continued the modernization of its navy, especially as China was also building a powerful modern fleet with foreign, especially German, assistance, and the pressure was building between the two countries to take control of Korea. The Sino-Japanese war was officially declared on August 1, 1894, though some naval fighting had already taken place.