If you find a rock with distinct foliation, how was this roc…

Questions

If yоu find а rоck with distinct fоliаtion, how wаs this rock metamorphosed?