The origin of the brachiopods is uncertain; they either arose from reduction of a multi-plated tubular organism, or from the folding of a slug-like organism with a protective shell on either end. Since their Cambrian origin, the phylum rose to a Palaeozoic dominance, but dwindled during the Mesozoic.