As Germany was preparing to invade Yugoslavia and Greece in April 1941, German troops arrived at the Bulgarian border, and demanded Bulgarian permission to pass through its territory. On 1 March 1941, Bulgaria, wishing to acquire the areas where Bulgarian-speaking communities lived in Greece (East Macedonia and Thrace) and Yugoslavia (Vardar Macedonia), signed the Tripartite Pact, and so formally joined the Axis powers.