Since 1866 Egypt witnessed seven parliamentary systems whose legislative and oversight competences varied and reflected the history of the Egyptian people's struggle to establish a society based on democracy and freedom .