Thorin was the son of Thrain and the grandson of Thror in The Hobbit.
He and 12 other Dwarves visited Bilbo on Gandalf's advice to hire him as a burglar, to steal back their treasure for Smaug.