The Heidelberg Catechism was written in mid sixteenth century Heidelberg by two young men in their twenties at the request of a German prince. Its purpose was for instructing young people and guiding pastors and teachers. It was divided into 52 sections so that part of it could be taught in churches each Sunday.