In Sri Lanka illegitimacy was only known in regard to children born from people from different castes. In the colonial period illegitimacy became very important, since European norms caused those born out of (a Christian) marriage to be considered illegitimate and this made them lose privileges such as inheritance rights.