Elected official question

If an elected official says that he answers only to God and history should that person be allowed to remain in office representing others?