Shakespeare's pastoral comedy was written and first performed around 1599, and presents some of his familiar motifs: a cross-dressing heroine, a wise-cracking fool, brothers usurping their brothers' power, a journey from the court to the country, and various romantic entanglements.