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

The Federal legislation for Oregon said that two townships of Federal land were to be donated for the university but the legislation for Seattle said that two townships of land were to be reserved for the university
The Federal legislation for Oregon said that two townships of Federal land were to be donated for the university, but the legislation for Seattle said that two townships of land were to be reserved for the university.