So correct me if I’m wrong anywhere but my understanding is after the US demands that japan open up, the shogunate opens up the country to an extent that neither the Chosu nor the Satsuma domain liked. So they launch a rebellion that puts the emperor back in power and formed a more centralized government modeled after western ones.
So I guess my main question is if the spark of the rebellion was anger against foreign powers having influence in Japan, why did the result of the rebellion lead to a government influenced by the foreigners? Why also did japan stay open and why did foreign powers aid the rebels instead of the shogunate who pretty much agreed to their concessions?
Thanks
By the Boshin War, neither Satsuma's nor Chōshū's leadership were anti-foreign, at least not actively and officially. "Anti-foreignism" set off the series of events that led to "anti-Bakufuism" but "anti-foreignism" in of itself was not the goal of the war.
See our FAQ section on the fall of the Tokugawa as well as Why did Meiji Japan embrace western culture?