The menstrual cycle occurs in four stages and is controlled by hormones from the pituitary gland and ovaries. In the first follicle stage, follicle stimulating hormone causes a follicle to form and produce estrogen. In the second ovulation stage, the estrogen surge causes luteinizing hormone to be released from the pituitary, rupturing the follicle and releasing an egg. In the third corpus luteum stage, the ruptured follicle forms the corpus luteum which produces progesterone. If no pregnancy occurs, the corpus luteum decomposes in the fourth menstruation stage, dropping hormone levels and causing the uterine lining to shed and be released.