Original: He became the curator a museum in Subotica, where he spent the remaining years of his life.
Simplified: He was in charge of a museum in Subotica.