Following the Battle of the Five Armies, the Dwarves settled in Erebor, which was ruled by Thorin's successor, Dáin Ironfoot. The Dwarves Dwalin, Dori, Nori, Glóin, Bifur, Bofur, and Bombur remained in the Lonely Mountain, presumably for the remainder of their lives; the only two whose deaths are specifically mentioned by Tolkien are Glóin, who attended the Council of Elrond with his son Gimli in TA 3018 and later perished in FO 15 at the age of 253; and Dwalin, who died in FO 91 at the age of 340.
About 50 years after the Battle of the Five Armies, Balin led a company of Dwarves (among them Óri and Óin) to reclaim the Dwarven kingdom of Moria. Balin became the Lord of Moria and for five years the Dwarves prospered there until being overrun by Orcs and other foul creatures. Óin was taken by the Watcher in the Water as they were forced by Orcs through the West Gate; Balin was slain by an Orc archer while venturing alone to look in the Mirrormere; and Óri famously recalled the Dwarves' last moments in the Bookof Mazarbul before being himself slain by Orcs.