In the movie Lord of the Rings , Gimli was Lord of Moria for a short time .
Gimli was of the royal line , but not close to the succession ; he was the third cousin once removed of Dáin II Ironfoot , king of Durin 's Folk , and the first cousin once removed of Balin , also one of Bilbo 's former companions , and later Lord of Moria for a short time .
Gimli -LRB-Middle-earth-RRB-