During World War II, Slovakia was an ally of Nazi Germany as part of the Axis. The Slovak Republic under President Josef Tiso signed the Tripartite Pact on November 24, 1940. Slovakia had been closely aligned with Germany almost immediately from its declaration of independence from Czechoslovakia on March 14, 1939. Slovakia entered into a treaty of protectionSchutzvertrag with Germany on March 23, 1939. This treaty aligned Slovakia's foreign and defence policies with Germany, and allowed German troops to form a protection zone in the western parts of Slovakia. Slovak troops joined the German invasion of Poland, having interest in Spiš and Orava. Those two regions were divided and disputed between Poland and Czechoslovakia since 1918, until the Poles fully annexed them following the Munich agreement. After the September Campaign, Slovakia reclaimed control of those territories. In July 1940, Germany successfully demanded the resignation of Slovak politicians who advocated an independent foreign policy at the Salzburg Conference. During the war, approximately 70,000 Slovak Jews were sent to concentration camps to perish in the Holocaust. In September 1942, a Slovak-German treaty was signed detailing the conditions for the deportation of Slovak Jews. Slovakia was spared German military occupation until the Slovak National Uprising, which began on August 29, 1944, and was crushed by the Waffen SS and Slovak troops loyal to Josef Tiso, dictator of Slovakia.
Following the creation of democratic Slovakia and German reunification, both countries traded under a free market economy. In March 2001, a German court rejected compensation complaints from Slovakia's surviving Jews from the Holocaust. Claims were rejected again in 2002. In 2003, Slovak Jews made a collective claim of 77 million euros to Germany. The 2003 lawsuit filed against Germany by the Central Union of Jewish Religious Communities in the Slovak Republic was made to reclaim compensation for monies paid by the wartime Slovak government to Germany to cover the cost of Germany's deportation of 57,000 members of the country's Jewish population.
Germany is Slovakia's largest trading partner. In 2003, Germany was the biggest investor in Slovakia, with its volume of direct investment at about 1.94 billion euro as of March 31, 2003. At the time, Germany made 26.4% of all foreign direct investments in Slovakia. This trend has continued in 2009, around 400 German firms are active in Slovakia investing 2.5 billion euro, making Germany is the biggest investor in Slovakia.
Car manufacturing
In 1991, Volkswagen AG opened a factory in Bratislava. Revenue from the plant in 2003 was 4.5 billion euro. By 2006, the company had invested 1.3 billion EUR in its operations and employed 9,000 staff at the time. In April 2009, Volkswagen AG announced plans to build a new compact family vehicle in Slovakia. The company will invest about 308 million euros. VW currently builds its Touareg, Škoda Octavia as well as its Audi Q7 in Bratislava and employs about 7,800 people in the nation, which has emerged a major hub in the global car industry. Porsche also builds its Cayenne model in Bratislava.
Cooperation
In 1997, the two countries signed a military cooperation agreement. In 2003, an e-government partnership was developed between the countries with the assistance of Siemens and Microsoft. Key bilateral agreements include those on social insurance and on road transport.