For an electric bike to be legal in the UK, it must come with a pedal-assist motor and have a maximum power output of 250 watts. The electrical assistance must cut off when it reaches 15.5mph / 25kmph, and it cannot be ridden by anyone under the age of 14.
read more about electric bike riders here https://lovetourholiday.com/electric-bike-riders-are-not-lazy-riders/