In the first one, as usually is the case in the passive voice construction, the agent is not set. So it is not clear who elected you.
In the second one, depending on the context, it may be clear who exactly elected you.
The second one sounds slightly more modest than the first; that is because in the first one you focus on yourself. Of course this concerns the written versions, since the intonation of the spoken versions may change things.
PS Not a native speaker
Student or Learner