### Instruction: Given a reference text about Sam McElroy, at what school was he the head football coach and what was his overall record there?
### Input: Sam McElroy (born c. 1963) is an American football coach. He served as head football coach at Tarleton State University from 2005 to 2009, compiling a record of 40–15.

McElroy is a 1985 graduate of Southwest Texas State University (now Texas State University), where he did not play varsity football but served as student assistant to head coach John O'Hara. Soon after graduation he became assistant coach at Corsicana High School. In 1989, he was hired by Grant Teaff to serve as graduate assistant at Baylor University. He later had short stints at Navarro College and at Alto High School, where he was named 1992 District 22-AA Coach of the Year after winning the district title and earning a state playoff berth.
### Response: Sam McElroy was the head football coach of Tarleton State University and had a combined record of 40-15.