On the other hand, Japan, bogged down in a seemingly interminable war with China and with diplomatic relations with the United States rapidly deteriorating, sought an accommodation with the Soviet Union that would improve its international standing and secure the northern frontier of Manchukuo against possible Soviet invasion.