Part of his directing fee
Lucas reportedly took a smaller directing fee on the first film in exchange for keeping the **merchandise and sequel rights** โ terms the studio happily agreed to, since it assumed toy and licensing money would never amount to much.