The floral homeotic C function gene AGAMOUS (AG) confers stamen and carpel identity and is involved in the regulation of floral meristem termination in Arabidopsis. Arabidopsis ag mutants show complete homeotic conversions of stamens into petals and carpels into sepals as well as indeterminacy of the floral meristem. Gene function analysis in model core eudicots and the monocots rice and maize suggest a conserved function for AG homologs in angiosperms. At the same time gene phylogenies reveal a complex history of gene duplications and repeated subfunctionalization of paralogs.