NuStar Energy L.P. engages in the terminalling, storage, and marketing of petroleum products; and transportation of petroleum products and anhydrous ammonia. It operates through three segments: Pipeline, Storage, and Fuels Marketing. The Pipeline segment transports refined petroleum products, crude oil, and anhydrous ammonia. The Storage segment owns terminal and storage facilities, which offer storage, handling, and other services for petroleum products, crude oil, specialty chemicals, and other liquids. This segment also provides pilotage, tug assistance, line handling, launch, emergency response, and other ship services. The Fuels Marketing segment is involved in the purchase of crude oil, fuel oil, bunker fuel, fuel oil blending components, and other refined products for resale. As of December 31, 2016, the company had 5,510 miles of refined product pipelines; 1,230 miles of crude oil pipelines; 2,000 miles of anhydrous ammonia pipelines; and 79 terminal and storage facilities, which offer approximately 95 million barrels of storage capacity. The company has operations in the United States, Canada, Mexico, the Netherlands, and the United Kingdom. Riverwalk Logistics, L.P. serves as the general partner of the company and is owned by NuStar GP Holdings, LLC. NuStar Energy L.P. was founded in 1999 and is headquartered in San Antonio, Texas.