Friday's NASCAR XFINITY Series race ended in controversy, as there was a big crash on the backstretch on the last lap, but the caution flag was not displayed until the leaders were in Turn 4, about 15 seconds later.

After officials checked the scoring loops and TV footage, Aric Almirola was declared the race winner over Justin Allgaier.

After the race ended, one of the drivers who wasn't happy with the ending was Roush Fenway Racing's Darrell "Bubba" Wallace, who got wrecked in the last-lap melee and was also spun out earlier in the race.

More from FoxSports

Wallace took to Twitter to vent his displeasure.