Human rights, pacts and elections: legal-historical analysis