Complex sentence: Over years, hundreds of dog breeds were developed, while the ownership of working, and, later, purebred dogs, had been a privilege of the wealthy.
Split into simpler sentences: Over years, hundreds of dog breeds were developed. Initially, the ownership of working, and, later, purebred dogs, was a privilege of the wealthy.