Who is they in the following sentence?

The red team defeated the blue team because they made the last penalty kick.
The red team