(1) (a) Any person not standing in the relation of husband or wife, parent or grandparent, child or grandchild, brother or sister, by consanguinity or affinity to the offender, who maintains or assists the principal or an accessory before the fact, or gives the offender any other aid, knowing that the offender had committed a crime and such crime was a third degree felony, or had been an accessory thereto before the fact, with the intent that the offender avoids or escapes detection, arrest, trial