Original: It was in many ways integrated with, although legally not a part of, West Germany.
Simplified: In many ways it was integrated (joined) with West Germany, but it was not a part of West Germany or East Germany.