Switzerland was an important base for espionage by both sides in the conflict and often mediated communications between the Axis and Allied powers.