Question: was star wars a book or a movie first?
Evidence: Now, let's not get it twisted. The film version of Star Wars is not secretly based on a 1976 book by Alan Dean Foster. Even though the book came out before the movie, Foster was hired by George Lucas to write a tie-in novelization of Lucas's screenplay. The book hit shelves early because Star Wars, the film, was late.
Answer: film