Mark Hamill explained that after he auditioned for 'Star Wars' with Harrison Ford, he thought Ford would play the main character and he would be the 'annoying sidekick.' Only when he read the script after he was cast did he learn the truth.
https://people.com/mark-hamill-thought-harrison-for-was-star-wars-main-…