Late Assembly Member secures shocking victory with a single vote