MARTINSVILLE, Va. - Ryan Truex's debut in the NASCAR Truck Series didn't go as planned on Saturday.

The Stafford Township, N.J., native finished 32nd, only finishing 158 of the 200-lap race after transmission problems. 

Truex drove the No. 27 truck for Hillman Racing.

Denny Hamlin ducked under Matt Crafton with five laps to go to win the race at Martinsville Speedway.

The victory was Hamlin’s second in the series and came as the championship standings were significantly jumbled.

Ty Dillon, who has led since mid-September, cut a tire with 48 laps to go and went from running sixth to finishing 28th.

James Buescher, one point behind Dillon to start the day, finished sixth to take a 21-point lead over Dillon.

The final eight laps featured a mad dash and Nelson Piquet Jr. wound up second, angering a lot of drivers with his aggressive driving.

Joey Coulter was third, Crafton finished fourth and Scott Riggs was fifth.