I beileve (Looking in my Hole's anatomy & physiology text)
that the anterior cerebral branches off the middle cerebral, which
branches from the posterior communicating artery. Or it circles
around to the anterior communicating artery. They all form the
cerebral arterial circle.