Complex sentence: He expected the U.S. government to buy the photographs when the war ended, but when the government refused to do so he was forced to sell his New York City studio and go into bankruptcy.
Split into simpler sentences: He expected the US government to buy the photographs when the war ended. When the government refused to do so he was forced to sell his New York City studio and go into bankruptcy.