DETROIT (AP) – General Motors says it will stop making medium-duty trucks by July 31 because it was unable to find a buyer for the operations.

The company said in a statement that it will wind down production of the Chevrolet Kodiak and GMC Topkick trucks after searching for a buyer for four years.

Both trucks are built at the Flint, Mich., Assembly plant, which also builds the Chevrolet Silverado and GMC Sierra pickups.

The factory employs about 2,100 people, with most of its production in pickups. Last year it made more than 22,000 medium-duty trucks for GM and Isuzu, and almost 73,000 pickups.

Medium-duty trucks normally are built for commercial use such as dump trucks.