children were still legitimate as long as parents married within 2 years - many 1st children were born well less than 9 months into marriage. However if they were both underage both sets of parents probably thought better to see them married.