Japan establishes the Office of Governor-General in Taipei and began a four-month military campaign to exert rule. Japan determines Taiwan's legal status in March 1896, and civilian rule was gradually extended. State Shinto is generally understood as the use of Shinto traditions and beliefs, dating back centuries and encompassing ritualized worship of a range of sacred spirits, to support Japanese nationalism from the Meiji Restoration in 1868 through World War II. Founded on the ancient precedent of saisei itchi, or the unity of religion and government, the Jingi Jimukyoku, or Shinto Worship Bureau, was founded in 1868 to oversee religious affairs. Military facilities, government quarters, residential areas for officers, courts, prisons, police, post offices, fire stations, schools, banks, and markets were built in every major city, contributing to the establishment of a modern social order. Japanese authorities applied the State Shinto system to conquered territories after Japan became a colonial power through repeated wars.