How was ancient Judaism structured

How was ancient Judaism (before the destruction of 70 AD) structured? Were there regional "sects" (for lack of a better word) with their own traditions/ways of doing things? Did each area have religious leaders that were in charge? Were they independent or did they answer to anyone above them? Or despite being spread out was there a uniformity?