The Cvetković-Maček Agreement that created the Croatian banate in 1939 encouraged what was essentially a partition of Bosnia between Croatia and Serbia. However the rising threat of Adolf Hitler's Nazi Germany forced Yugoslav politicians to shift their attention. Following a period that saw attempts at appeasement, the signing of the Tripartite Treaty, and a coup d'état, Yugoslavia was finally invaded by Germany on 6 April 1941.