Sunoco LP has notified 94 employees at its Newtown Square offices that they will lose their jobs ahead of the company's planned divestiture of most of its fuel stations to 7-Eleven Inc. by the end of the year.

The formal layoff notice, filed with the Pennsylvania Department of Labor and Industry, will shrink Sunoco's workforce in the region to about 150 employees, said Alyson B. Gomez, a spokeswoman for the company, which moved its headquarters from Newtown Square to Dallas in 2015. The layoff notice is effective Oct. 13.

"Sunoco LP will continue to have a presence in the Philadelphia area while we maintain the functions needed to support the remaining critical elements of our business," Gomez said in an email Monday. She added that 7-Eleven may also extend job offers to some of the employees to work with the new owners.

Sunoco, which is the retail fuel-marketing arm of the former Philadelphia oil company, announced in April that it would sell about 1,100 convenience stores to 7-Eleven for $3.3 billion to allow it to focus more on its wholesale fuel-supply business. Under a 15-year agreement, the stores will continue to market fuel under Sunoco's brand.

Energy Transfer Partners LP bought Sunoco in 2012, along with its affiliated company, Sunoco Logistics Partners LP, which also maintains offices in Newtown Square. Energy Transfer absorbed Sunoco Logistics earlier this year. The company's Sunoco Pipeline subsidiary is building the Mariner East project to deliver Marcellus Shale gas liquids by pipeline to Marcus Hook.