Man found guilty in attack on pregnant girlfriend