Is It takes place over a relatively long period of time natural selection or selective breeding?

Natural selection.