Harrison Ford has landed his first proper animated movie role.

Harrison Ford

Harrison Ford

The Hollywood legend - who is most famous for the 'Star Wars' and 'Indiana Jones' franchises - is set to voice a pet or human in the second instalment of 'The Secret Life of Pets'.

Deadline reports that Ford has joined new cast members including Tiffany Haddish, Patton Oswalt, Nick Kroll and Pete Holmes.

Whilst Kevin Hart, Jenny Slate, Eric Stonestreet, Ellie Kemper, Lake Bell, Dana Carvey, Hannibal Buress, and Bobby Moynihan are all set to reprise their respective roles.

The 75-year-old actor's only experience in the animated world is voicing a cartoon Han Solo for a segment for the 'Star Wars Holiday Special', which aired on TV in 1978.

Ford is also working on a fifth 'Indiana Jones' film, with a release date of 2020 penciled in.

Although it's not yet confirmed who the 'Blade Runner 2049' star's character will be, last year Louis C.K. was dropped from the sequel.

The 50-year-old comedian and actor played Jack Russell terrier Max.

However, he was fired after being the subject of a New York Times that claimed he had exposed himself and masturbated in front of at least five women in cases starting from 2002.

Universal and Illumination Animation announced they'd "terminated their relationship" with him so he will no longer voice the main mutt in the movie.

The studio said in a statement: "Universal Pictures and Illumination have terminated their relationship with Louis C.K. on 'The Secret Life of Pets 2'."

'The Secret Life of Pets 2' is scheduled to be released in June 2019.