Age of consent was 10-12 in UK till as late as 1890s'.
Only in last century did it change.
In spain, even today it is 13.