In 1891, Coach James Naismith (invented / had invented) the game of basketball.
invented
had invented
The simple past tense, invented, is used for an event that happened in the past.
For more help, see sections 28a–f.