Gallegos wins re-election after death