Say one day Country A attacked Country B, and this began a full blown war between the two countries.
During this war, Country B seized some of Country A's territory along their mutual border, and Country B ended up winning the war.
Now that the war has ended, is Country B required by some international law or law of war to return the seized land to Country A?
Does it matter that Country A started the war, not Country B?