He was wise, for he had seen a long succession of mechanical toys arrive to boast and swagger, and by-and-by break their mainsprings and pass away.
b) The most important reason for something.
My daughter is the mainspring of my life.
Wikipedia foundation.