What is the version of the following sentence with correct punctuation?

His offspring also had longer necks which meant they fared better than other giraffes
His offspring also had longer necks which meant they fared better than other giraffes.