Kyle Busch spent Wednesday night racing go-karts in an effort to raise money for a good cause.

Busch and Ryan Newman, among others from NASCAR, attended a fund-raising event and apparently had lots of fun, too, at the GoPro Motorplex in Mooresville, North Carolina.

They were on hand to help raise money for the North Carolina Troopers Association, which was founded in 1977 and raises money for "troopers to help troopers" in a variety of ways. Wednesday's event was the second annual Go Pro Fundraiser.

More from FoxSports

Had a good time last night racing in the @gopromotorplex fundraiser for @nc_troopers #TeamRowdy fell a bit short of a podium finish, but we'll get'm next year!

A photo posted by Kyle Busch (@rowdybusch) on

Checkout this awesome video Raghorner Media Group made for us Tuesday @GoProMotorplex @KyleBusch #NASCAR @NCSHP

— NC Troopers Assoc (@NCTroopers) July 14, 2016