From the scrawny dog to the prized purebred