Up until the second century AD, Roman soldiers were not allowed to marry. Before then, spouses were illegal, and any offspring were regarded as illegitimate.