Make the given paragraph simpler.
It has spread throughout southern Europe both as a weed and cultivated as a garden plant.
It has spread both because people grow it as a garden plant, and because it can grow as a weed.