In Gaelic Ireland a kind of fosterage was common, whereby (for a certain length of time) children would be left in the care of others to strengthen family ties or political bonds. Foster parents were beholden to teach their foster children or to have them taught. Foster parents who had properly done their duties were entitled to be supported by their foster children in old age (if they were in need and had no children of their own). As with divorce, Gaelic law again differed from most of Europe and from Church law in giving legal standing to both "legitimate" and "illegitimate" children.