There were shloshah she'arim (three gates) on the mizrach (east), there were shloshah she'arim on the tzafon (north), and shloshah she'arim on the darom (south) and shloshah she'arim on the ma'arav (west).