Some one mentioned it earlier i think, but Sumerian city states at their very beginnings were fairly democratic, having city councils and the like. Over time, however, religious leaders accumulated land and power, and eventually they partnered with military leaders, from whence came kings and their ilk