Complex sentence: The observatory was established partly as a result of Charles Rooking Carter, who gifted his estate to what later became the Royal Society of New Zealand for the purposes of establishing an Astronomical Observatory in or near Wellington.
Split into simpler sentences: The observatory was established partly as a result of Charles Rooking Carter, who gifted his estate to what later became the Royal Society of New Zealand. The estate was gifted for the purposes of establishing an Astronomical Observatory in or near Wellington.