Identify whether the following is a simple sentence or a compound sentence.

The boy had to catch the nine o'clock train.

simple sentence
compound sentence