Neither Meriadoc Brandybuck nor Peregrin Took dies. Both survive the War of the Ring, return to the Shire, lead the Scouring of the Shire, and live long lives. Merry becomes Master of Buckland; Pippin becomes Thain. They eventually depart for Rohan/Gondor and die of old age (per appendices), but not during the main narrative.