During the 1870s and 1880s in Japan, several uprisings occurred as people protested against the government and demanded more political rights. At the same time, Japan began modernizing its political, economic, social, and military systems based on Western models. The government established a constitution and political parties, expanded education, industrialized the economy, and strengthened the military to compete internationally. However, this rapid modernization caused tensions as traditional Japanese culture and values were threatened.