If she is a Justice of the New York Supreme Court, she was elected.
Elected in New York? Then she may get reelected no matter what she does.