If elected officials refuse to be accountable for all their actions, then democracy seizes to exist and the entire system collapses and dies.
If democracy breaks down, elected representative can easily transform him, or herself into a despot. History has examples of democratically elected leaders who evolved into tyrants. Here are three instances in Asia, Africa and Europe.
Ferdinand Marcos - He was first elected as an idolized figure of the resistance against the Japanese in WWII. When he was ousted in 1986, his government was synonymous with corruption and repression.