The Order did not accept the solution. Later Vytautas agreed the solution to be made by Emperor Sigismund. He acknowledged Samogitians for the Order (1420). Vytautas did not accept the solution. Polish and Lithuanian military, not capturing the castles, devastated Prussia then and the Treaty of Melno was made. Klaipėda was left for the Order. Since the Melno treaty the land later become Lithuania Minor had been officially separated from Lithuania. It became part of the state of the Teutonic Order.