There "was" or there "were" [closed]

Which of the following is correct and why:

1 - There were 2,223 people aboard RMS Titanic

2 - There was 2,223 people aboard RMS Titanic


1- "There WERE plural people," because you say "plural people WERE there."

Otherwise, "There WAS one person," because you say "one person WAS there."