Choose the correct verb or verb phrase to complete the sentence.

Mr. Tanaka would have preferred _____ in the small town where he grew up, but he needed to seek job opportunities in Tokyo.

to remain

to remaining

to have been remaining

to remained

Mr. Tanaka would have preferred to remain in the small town where he grew up, but he needed to seek job opportunities in Tokyo.