Austin Theriault walks through his garage prior to a NASCAR Cup Series auto race practice at New Hampshire Motor Speedway in Loudon, New Hampshire, July 19, 2019. Credit: Charles Krupa | AP

Fort Kent’s Austin Theriault, making his second NASCAR Monster Energy Cup Series start on Sunday, finished 34th at the Gander RV 400 at Pocono Raceway in Long Pond, Pennsylvania.

He finished five laps down but completed the race.

Denny Hamlin took the checkered flag for the win.

Theriault, driving the No. 52 Bangor Savings Bank and Trick Shot Penetrating Lubricant Ford for the underfunded Rick Ware Racing team, had the slowest qualifying time among the 38 cars over the 2.5-mile track at 56.011 seconds but he started 29th because nine cars failed the pre-race technical inspection and had to start at the back of the field.

Kevin Harvick won the pole with a time of 51.707.

It took just 15 laps for Theriault’s car to get lapped and, by lap 34 of the 160-lap race, he was three laps down and riding in last (38th) place.

The race was divided into two 50-lap stages and a final 60-lap stage.

But the 25-year-old Theriault was lapped just twice more over the final 112 laps — a late-race caution forced two extra green-white-checkered laps — to register his 34th-place finish.

Theriault was driving one of three Rick Ware Racing team’s cars in the race along with the No. 51 Ford of B.J. McLeod and the No. 53 Chevy of Josh Bilicki.

McLeod finished 33rd and Bilicki wound up 35th.

Ware Racing has used 12 different drivers this season and has finished inside the top 30 eight times in 46 starts.

Corey LaJoie, the full-time driver for the Go Fas Racing team owned by Old Orchard Beach native Archie St. Hilaire, came home 26th.

Theriault had three previous top 10 finishes at Pocono in the ARCA Series: a fourth, eighth and ninth. He won the 2017 ARCA points championship for Ken Schrader Racing with a serles-leading seven wins and 16 top-five finishes.

A week ago at New Hampshire Motor Speedway in Loudon, Theriault started 36th in the 37-car Foxwoods Resort Casino 301 field and finished 35th after completing just 185 of the 301 laps due to a rear gear mechanical problem.

He became the first Maine native to drive in NASCAR’s top series since Newburgh’s Ricky Craven concluded his 278-race career in 2004.

Theriault is planning to return to his home track, Caribou’s Spud Speedway, for next Sunday afternoon’s Firecracker 200 in the Pro All Stars Series North Super Late Model tour.