Spanish assets can be transferred to a relative by deed of gift/donation
A Gift or Donation under the Spanish Civil Code allows an individual to dispose of an asset in favour of another person on the provision that the recipient is fully prepared to accept the asset and all the liabilities that may be attached to the asset passed to them by Deed of Gift, which also can be described as a donation.