now therefore melko 's goblins held all the gate and a great part of the walls on either side , whence numbers of the swallow and those of the rainbow were thrust to doom ; but within the city they had won a great space reaching nigh to the centre , even to the place of the well that adjoined the square of the palace .