Where did democracy first appear?

The first appearance of democracy is often said to have been in Athens in Ancient Greece. However one should be aware that there are very great differences on what was considered democracy in Athens and what is considered as democracy today (just as there is a rather large differences between modern democracies). For example only men could vote and these men had to be landowners as well as sons of two athenian parents.