The 500 Hats of Bartholomew Cubbins is a children's book, written by Dr. Seuss and published by Vanguard in 1938. Unlike the majority of Dr. Seuss's books, it is written in prose rather than rhyming and metered verse. Geisel, who collected hats, got the idea for the story on a commuter train from New York to New England while he was sitting behind a businessman wearing a hat. Set in feudal times, the story begins in the Kingdom of Didd, when King Derwin is riding through a street past Bartholomew Cubbins, a poor boy in the market. Bartholomew removes his hat, according to the laws, but another hat mysteriously appears; when he attempts to remove this one too, another one appears again, and this continues, even as he removes more and more hats, each growing in extravagance and beauty from the 451st hat onwards.Eventually, as Bartholomew is being threatened with death, the 500th hat, studded with massive gems and gilding, comes off and Bartholomew's head is bare again. Stunned by the beauty of the hat, King Derwin grants him reprieve and trades him 500 gold coins for the 500th hat.