This event is called endosymbiosis, or "cell living inside another cell".
These chloroplasts, which can be traced back directly to a cyanobacterial ancestor, are known as primary plastids[REF] ("plastid" in this context means almost the same thing as chloroplast[REF]).