What does a team need to be successful in the long term?

As a manager, you want your team to thrive long term. What actually makes a team successful and what does it require in order to thrive in a prolonged, sustainable way and withstand all the challenges that lie ahead?