A citizen may enter into a legacy-support agreement with a person who, in accordance with the agreement, assumes the duty to support the former in his or her lifetime and attends to his or her interment after death, in return for the right to legacy.