Greek drama began with festivals for the gods, mainly Dionysus, the god of wine. During Aeschylus' lifetime, dramatic competitions became part of the city's Dionysia in the spring. The festival began with an opening procession, then a competition of boys singing dithyrambs, and finally two dramatic competitions. The first competition was for three playwrights each presenting three tragic plays, followed by a shorter comedy. A second competition of five comedic playwrights followed, and winners of both competitions were chosen by a group of judges.