To simplify the planned invasion of Greece, Germany and Italy wanted to neutralize Yugoslavia. For this purpose, Germany was ready to guarantee the territorial integrity of Yugoslavia. News of the German offer annoyed Hungary which had already started negotiations with Yugoslavia. At the initiative of Prime Minister Pál Teleki, Hungary and Yugoslavia signed a treaty of eternal friendship and non-aggression on 12 December 1940. The treaty referred to the possibility of the revision of the frontier in favor of Hungary after bilateral negotiations, but Hungary explicitly abandoned her claim to Croatia. Through the treaty, Hungary wanted to offset German pressure and to improve her relationship with the United Kingdom.