Skip to main content
Skip to Filters
2,315 listings
  • Price Drop
    $12,396
    great price
    $2,446 below market
    • 110,797 miles
    • No accidents, 3 owners, personal use
    • 23 City / 33 Hwy MPG
    • Cars2us Of Woodbridge (314 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Woodbridge, VA / 314 miles away from Wilmington, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C37HG903746
    Stock: CU6775
    Certified Pre-Owned: No

  • $17,995
    good price
    $1,122 below market
    • 100,266 miles
    • No accidents, 2 owners, personal use
    • 20 City / 29 Hwy MPG
    • Auto Trademark (322 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Manassas, VA / 322 miles away from Wilmington, NC

    2017 BMW 540I X-Drive Call 703-361-6882, 1 Owner, Clean Carfax, Driver Assist Pkg, Premium Package / Cold Weather Pkg / Head Up Display, Navigation S...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (20 City/29 Highway)

    Listing Information:

    VIN: WBAJE7C3XHG889054
    Stock: AT17391
    Certified Pre-Owned: No

  • New Listing
    Stock photo**
    $12,740
    good price
    $1,511 below market
    • 122,004 miles
    • No accidents, 2 owners, personal use
    • 23 City / 33 Hwy MPG
    • BMW of Sterling (338 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Sterling, VA / 338 miles away from Wilmington, NC

    Clean CARFAX. 2017 BMW 5 Series 8-Speed Automatic Dark Graphite Metallic 2.0L 4-Cylinder23/33 City/Highway MPGCold Weather Package (Front & Rear...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C37HG904234
    Stock: HG904234T
    Certified Pre-Owned: No
    Listed since: 08-28-2025

  • $14,395
    good price
    $1,375 below market
    • 97,049 miles
    • 2 accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • G Motors Old Bridge (478 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Old Bridge, NJ / 478 miles away from Wilmington, NC

    2017 BMW 5 Series 530i Sedan 4DExperience luxury and performance with the 2017 BMW 5 Series 530i Sedan. This sophisticated vehicle combines cutting-ed...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C3XHG897347
    Stock: OL897347
    Certified Pre-Owned: No

  • $13,995
    good price
    $1,200 below market
    • 114,584 miles
    • 2 accidents, 2 owners, personal use
    • 23 City / 33 Hwy MPG
    • Carvault of Chantilly (331 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Chantilly, VA / 331 miles away from Wilmington, NC

    Visit CarVault of Chantilly to shop our great deals. You can call 571-585-7830 to schedule your test drive today.

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C35HWA71008
    Stock: CVLC1008
    Certified Pre-Owned: No

  • New Listing
    $17,700
    fair price
    $631 below market
    • 83,904 miles
    • No accidents, 2 owners, personal use
    • 23 City / 33 Hwy MPG
    • AutoPROVED (468 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Allentown, PA / 468 miles away from Wilmington, NC

    Thank you for choosing AutoPROVED, where Cars Cost Less and home of No Haggle Pricing. All of our vehicles go through a RIGOROUS 118pt inspection and ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C33HG906742
    Stock: A2508281
    Certified Pre-Owned: No
    Listed since: 08-28-2025

  • Price Drop
    $14,977
    good price
    $1,299 below market
    • 106,322 miles
    • 2 accidents, 2 owners, corporate fleet vehicle
    • 23 City / 33 Hwy MPG
    • Taj Auto Mall (474 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Bethlehem, PA / 474 miles away from Wilmington, NC

    Coverage: Our certified vehicles come with a 2 years / 100,000-mile warranty for those 6 years old or newer with under 80,000 miles. This warranty is ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C31HG903922
    Stock: T8729
    Certified Pre-Owned: No
    Listed since: 08-14-2025

  • $19,299
    fair price
    $60 below market
    • 93,019 miles
    • 1 accident, 3 owners, personal use
    • 20 City / 30 Hwy MPG
    • Paragon Automotive (211 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Virginia Beach, VA / 211 miles away from Wilmington, NC

    2017 BMW 5 Series 540i Sedan 4D: Precision Engineering Meets Executive LuxuryRefined and Modern Design:The 2017 BMW 5 Series 540i Sedan 4D boasts a bo...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (20 City/30 Highway)

    Listing Information:

    VIN: WBAJE5C3XHG917021
    Stock: 1723
    Certified Pre-Owned: No

  • $17,450
    fair price
    $114 above market
    • 116,958 miles
    • No accidents, 3 owners, personal use
    • 20 City / 29 Hwy MPG
    • VINS (321 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Manassas Park, VA / 321 miles away from Wilmington, NC

    Clean CARFAX. Priced below KBB Fair Purchase Price! 2017 BMW 5 Series 540i xDrive Alpine White 3.0L I6 Turbocharged DOHC 24V LEV3-ULEV70 335hp AWD, Ni...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (20 City/29 Highway)

    Listing Information:

    VIN: WBAJE7C30HG887698
    Stock: 23246A
    Certified Pre-Owned: No
    Listed since: 07-30-2025

  • New Listing
    $19,998
    fair price
    $152 above market
    • 70,906 miles
    • 3 accidents, 3 owners, personal use
    • 24 City / 34 Hwy MPG
    • CarMax Montgomery (495 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Montgomery, AL / 495 miles away from Wilmington, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C30HG894408
    Stock: 27112652
    Certified Pre-Owned: No

  • Price Drop
    $12,900
    great price
    $6,275 below market
    • 77,905 miles
    • No accidents, 2 owners, personal use
    • 23 City / 33 Hwy MPG
    • Dan Cummins Chrysler Dodge Jeep RAM of Georgetown (464 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Georgetown, KY / 464 miles away from Wilmington, NC

    This 2018 BMW 5 Series 530i xDrive is being offered to you as an alternative to us taking to the auction. This BMW 5 Series is a sleek, compact size c...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C59JWC77360
    Stock: 8427A
    Certified Pre-Owned: No
    Listed since: 04-11-2025

  • New Listing
    $15,952
    fair price
    $161 above market
    • 152,967 miles
    • 20 City / 29 Hwy MPG
    • Fair Oaks Chrysler Jeep Dodge Ram (330 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Chantilly, VA / 330 miles away from Wilmington, NC

    2017 BMW 5 Series 540i xDriveRecent Arrival! Clean CARFAX.5 Series 540i xDrive, 4D Sedan, 3.0L I6 Turbocharged DOHC 24V LEV3-ULEV70 335hp, 8-Speed...

    AutoCheck Vehicle History Summary Unavailable.

    Features and Specs:

    23 Combined MPG (20 City/29 Highway)

    Listing Information:

    VIN: WBAJE7C34HG889468
    Stock: HG889468A
    Certified Pre-Owned: No
    Listed since: 08-30-2025

    • 59,601 miles
    • No accidents, 3 owners, personal use
    • 23 City / 33 Hwy MPG
    • CarMax Jacksonville NC (54 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Jacksonville, NC / 54 miles away from Wilmington, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (23 City/33 Highway)

    Listing Information:

    VIN: WBAJA7C33HG906448
    Stock: 27305418
    Certified Pre-Owned: No

  • $18,700
    fair price
    $321 below market
    • 61,660 miles
    • No accidents, 2 owners, personal use only
    • 24 City / 34 Hwy MPG
    • CARMIX (315 mi away)
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Waldorf, MD / 315 miles away from Wilmington, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C34HWA34827
    Stock: 11111
    Certified Pre-Owned: No

  • New Listing
    $14,795
    good price
    $1,411 below market
    • 86,737 miles
    • 2 accidents, 3 owners, corporate fleet vehicle
    • 24 City / 34 Hwy MPG
    • Jax Exports Inc (346 mi away)
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Jacksonville, FL / 346 miles away from Wilmington, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C33HG455820
    Stock: 9536
    Certified Pre-Owned: No

    • 52,820 miles
    • 1 accident, 2 owners, personal use
    • 20 City / 30 Hwy MPG
    • Merlex Auto Group (331 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Arlington, VA / 331 miles away from Wilmington, NC

    The 2017 BMW 540i M SPORT LINE is a refined fusion of performance, luxury, and precision engineering, offering a driving experience that s both exhila...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (20 City/30 Highway)

    Listing Information:

    VIN: WBAJE5C35HG915161
    Stock: 915161
    Certified Pre-Owned: No
    Listed since: 07-24-2025

  • New Listing
    $13,190
    good price
    $1,271 below market
    • 104,525 miles
    • 2 accidents, 3 owners, corporate fleet vehicle
    • 24 City / 34 Hwy MPG
    • Auto Easy (433 mi away)
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Orlando, FL / 433 miles away from Wilmington, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C38HWA34815
    Stock: AEHWA34815
    Certified Pre-Owned: No

  • Stock photo**
    • 67,240 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • Lexus of Knoxville (372 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Knoxville, TN / 372 miles away from Wilmington, NC

    Clean CARFAX. **FULLY SERVICED BY A FACTORY TRAINED TECHNICIAN.The Optional Features Included on this are: 12 Speakers, 4-Wheel Disc Brakes, ABS brake...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C32HG894216
    Stock: P12502A
    Certified Pre-Owned: No
    Listed since: 08-18-2025

  • New Listing
    $13,995
    fair price
    $420 below market
    • 99,180 miles
    • No accidents, 2 owners, corporate fleet vehicle
    • 24 City / 34 Hwy MPG
    • EAG Motor Sports (292 mi away)
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Fredericksburg, VA / 292 miles away from Wilmington, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C38HG896732
    Stock: EAG2987
    Certified Pre-Owned: No

  • New Listing
    • 48,118 miles
    • 1 accident, 2 owners, personal use only
    • 24 City / 34 Hwy MPG
    • Carvana - Columbus (491 mi away)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Columbus, OH / 491 miles away from Wilmington, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C33HG895763
    Stock: 2003841519
    Certified Pre-Owned: No
    Listed since: 07-02-2025

    • 95,756 miles
    • No accidents, 3 owners, personal use
    • 20 City / 30 Hwy MPG
    • Auto Boutique Ohio (491 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Columbus, OH / 491 miles away from Wilmington, NC

    *Disclaimer*PRICE LISTED DOES NOT INCLUDE TAX (TAX RATE VARIES DEPENDING ON STATE, CITY, & COUNTY), TITLE ($20), TEMP TAG ($20.50) MEMO-TITLE FOR REGI...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (20 City/30 Highway)

    Listing Information:

    VIN: WBAJE5C31HG477898
    Stock: Y2245W
    Certified Pre-Owned: No
    Listed since: 07-27-2025

Showing 1 - 21 out of 2,315 listings

Consumer Reviews for the BMW 5 Series

Read recent reviews for the BMW 5 Series
Overall Consumer Rating
4.3 out of 5 stars15 Reviews
Write a vehicle reviewSee all 15 reviews
  • 5 star
    (73%)
  • 4 star
    (7%)
  • 3 star
    (7%)
  • 2 star
    (0%)
  • 1 star
    (13%)
5 out of 5 stars

Great performance and technology!

Rick D., 07/02/2017
2017 BMW 5 Series 540i xDrive 4dr Sedan AWD (3.0L 6cyl Turbo 8A)
Interior is appealing with high quality materials. Smooth, powerful engine and transmission, strong/seamless acceleration from 0 to 130mph, confident handling, great soundproofing, heads up display, B&W entertainment system, comfortable seats, technology and sporty appearance are strong points. Took EU delivery and drove 2,360 miles in Germany, Switzerland, Italy and France. Great ride … in all conditions' high speed German autobahn, mountain, city and country roads. Have driven 5,000 miles since returning home. Really like the intelligent cruise control, which regulates speed to maintain safe distance from Car in front. Have owned eight BMW's, including four 5 series. This is the best 5 series BMW I have owned. After 12,000 miles on the car, the DSC (Dynamic Stability Control) Module failed. It took the BMW factory two weeks to provide a replacement part from Germany. Local BMW dealer paid for a rental car, but I was not happy that it took more than two weeks to return my car. Why did the DSC Module fail after only 12,000 miles? Dealer had no answer. Why did it take two weeks to provide a standard part that should have been readily available at BMW Germany factory and could have been overnight shipped? Dealer and BMW USA rep had no answer. Otherwise, I love my BMW 540ix and would still recommend it.
Report abuse

Used 2017 BMW 5 Series in Wilmington, NC Values

Estimated values
2017 BMW 5 Series 530i xDrive 4dr Sedan AWD (2.0L 4cyl Turbo 8A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$12,710$15,906$18,350
Clean$12,247$15,306$17,634
Average$11,476$14,305$16,439
Rough$10,473$13,005$14,887

The average list price of a used 2017 BMW 5 Series in Wilmington, North Carolina is $16,819. The average mileage on a used BMW 5 Series 2017 for sale in Wilmington, North Carolina is 91,539. Based on the average mileage of 91,539 for used 2017 BMW 5 Series for sale in Wilmington, NC and using an average vehicle condition rating, which means the vehicle may have a few mechanical and/or cosmetic problems and may require a considerable amount of reconditioning, we appraise the average trade-in value of a used BMW 5 Series 2017 in Wilmington, North Carolina to be $11,476.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius500 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

Body Type

Trim

Mileage

Accidents & History

EV Details

Engine & Drivetrain

Exterior Color

Interior Color

Total Seating

Edmunds Review

Features

Options & Packages

MPG

Listing Details


* Delivery of any kind does not apply to Alaska and Hawaii. Contact the dealer for delivery details, restrictions and costs.