Treaty of montgomery