LEWISTON — VIP Parts, Tires & Service has agreed to sell its auto parts business to O’Reilly Automotive Inc. for an undisclosed amount.

Lewiston-based VIP will continue to own and operate the tire and service components of the business, while O’Reilly will own the automotive parts sales and distribution operations.

VIP currently operates 56 stores throughout Maine, New Hampshire and Massachusetts, as well as a distribution center in Maine.

The deal is expected to be completed by Dec. 31, the companies said in a statement.

Founded in 1957 by the O’Reilly family, O’Reilly Automotive operates 3,896 stores in 39 states.