(Photo by Brian Bahr/Getty Images)

A lifetime of coaching finally paid off for Jim Tomsula, who was named the San Francisco 49ers’ new head coach on Wednesday. He worked his way up from the lower levels of football — from teams named Charleston Southern and Catawba and Scottish Claymores and Rhein Fire — to where he is today.

And he didn’t a little thing like a lack of salary get in his way.

After his departure from Charleston Southern, where he served as an assistant coach from 1992 to 1995, he took a volunteer assistant job at Catawba, his alma mater in central North Carolina. I’ll let Post and Courier columnist Gene Sapakoff take it from here, in a column written last January:

While serving as a volunteer assistant coach at his alma mater, Catawba College in Salisbury, N.C., Tomsula sent the family to Florida to temporarily live with relatives.

He slept in his car, an old red Cadillac.

Along with the family dog, cat, pet food and litter box.

Salisbury side job: Carpet salesman.

Yes, that’s right: Tomsula slept in a very enclosed area with two animals and a box of pet waste very close by.

That carpet-salesman gig wasn’t the only side job he had. While at Charleston Southern, he cleaned grocery store parking lots, delivered newspapers and photographed homes for an insurance company to make ends meet, Sapakoff wrote.

He won’t have to worry about anything like that again.

“After conducting a thorough coaching search, and meeting with a number of outstanding candidates, Jim Tomsula clearly is the right man to lead this team,” 49ers CEO Jed York said in a statement released Wednesday. “Jim is a great teacher and a tremendous mentor who conducts himself with great class and integrity.”