Stegosaurus
It has often been said that the Stegosaurus brain was the size of a walnut. Actually, it had a brain several times the size of a walnut. The bundle of nerves near the base of the tail that controlled reflexes in the back of the body was larger than the brain and is sometimes said to be a "second brain". These issues are discussed in Dinosaur brains and intelligence.