The game was decided in the final minutes — and in controversial fashion.