An official is someone who holds an office in an organization or government and participates in the exercise of authority.
The term officer is close to being a synonym, but it has more military connotations. An elected official is a person who is an official by virtue of an election.