Original: In the agreement Austria receives the part of its territory that was taken from it (the Innviertel).
Simplified: In the agreement Austria receives the part of its territory that was taken from them (the Inn District).