Lucasfilm holds the copyright, but Paramount has some kind of profit participation and distribution rights in perpetuity. It's the main reason they had a tough time making a deal for the film - Lucas wanted to own the film but have the studio finance it.