Slovakia, officially the (First) Slovak Republic, and from 14 March until 21 July 1939 officially known as the Slovak State (Slovak: Slovenský štát), was a partially recognized clerical fascist client state of Nazi Germany which existed between 14 March 1939 and 4 April 1945 in Central Europe. The Slovak part of Czechoslovakia declared independence with German support one day before the German occupation of Bohemia and Moravia. It controlled most of the territory of present-day Slovakia, without its current southern parts, which were ceded by Czechoslovakia to Hungary in 1938. The puppet state was the first formally independent Slovak state in history. Bratislava was declared the capital city.
A one-party state governed by the far-right Hlinka's Slovak People's Party, the Slovak Republic is primarily known for its collaboration with Nazi Germany, which included sending troops to the invasion of Poland in September 1939 and the Soviet Union in 1941. In 1940, the country joined the Axis when its leaders signed the Tripartite Pact.