The release of pituitary hormones by both the anterior and posterior lobes is under the control of the hypothalamus , albeit in different ways .
While the pituitary gland is known as the ` master ' endocrine gland , both of the lobes are under the control of the hypothalamus .