Japan considered Saipan to be part of the last line of defenses for the Japanese homeland, and thus had strongly committed to defending it. The Imperial Japanese Army and Imperial Japanese Navy garrisoned Saipan heavily from the late 1930s, building numerous coastal artillery batteries, shore defenses, underground fortifications and an airstrip. In mid-1944, nearly 30,000 troops were based on the island.