I agree with Eff-Six. If the identification of who was elected has special relevance to the present, "is" could be used to highlight its relevance to the present. The natural and normal usage, however, is to have tense agreement between the matrix clause and the embedded clause of cleft sentences like these. Incidentally, strict formality here calls for "I": "It was I who was elected."