Some further details which may be of interest:
The Fourth Lateran council put first confession (followed by first communion) at the "age of reason", which I have seen traditionally given as 7 or 12. For the evangelical church, for example in Wittenberg, the examination before first communion took the place of the "inane spectacle" of the Roman rite of confirmation (the "Reformatio Wiitembergensis" of 1545, cited in Reu, Catechetics (1918), p. 681).
According to Reu, while the Pietists promoted a confirmation rite, it was present already in the mid-16th century (note the document Steven cites says that confirmation ceased to exist in most places). Reu traces it to Martin Bucer, who incorporated the laying on of hands and a vow of obedience to the Church. Spener first witnessed confirmation at a village in Hesse (where it was introduced in 1539), and secured its general diffusion. (See Reu, pp. 147f; 676-697)
--Jonathan