Generate a correctly punctuated version of the following text: He did go to the Observatory but decided that he would prefer not to accept the post there but rather remain at Cambridge
He did go to the Observatory but decided that he would prefer not to accept the post there, but rather remain at Cambridge.