Democratic Government

There were only 5000 citizens that had political rights and they elected the 400 people that represented the whole population of Athens. It makes me question if it was a true democracy if only 5000 citizens had political rights.