Skip to main content
Skip to Filters
646 listings

Save with BMW 5 Series rebates
Check your savings potential before you buy

    • 90,531 miles
    • 1 accident, 3 owners, personal use
    • 20 City / 30 Hwy MPG
    • Andover Auto Group (27 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Argyle, TX / 27 miles away from Arlington, TX

    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: WBAJE5C33HG917040
    Stock: 917040
    Certified Pre-Owned: No
    Listed since: 07-08-2025

  • Price Drop
    • 73,869 miles
    • No accidents, 3 owners, personal use
    • 24 City / 34 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Phoenix, AZ / 868 miles away from Arlington, TX

    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: 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: WBAJA5C33HG893995
    Stock: 2003833563
    Certified Pre-Owned: No
    Listed since: 07-12-2025

  • Price Drop
    • 76,198 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Los Angeles, CA / 1,223 miles away from Arlington, TX

    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: 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: WBAJA5C3XHG894643
    Stock: 2003793053
    Certified Pre-Owned: No
    Listed since: 06-09-2025

  • New Listing
    • 55,319 miles
    • 1 accident, 1 owner, personal use only
    • 24 City / 34 Hwy MPG
    • BMW of Dallas (17 mi away)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Dallas, TX / 17 miles away from Arlington, TX

    M Sport PackageDriving Assistance Plus PackageHead-Up DisplayBluestone MetallicSun/MoonroofHeated Front SeatsLeather SeatsPower TailgateNaviga...

    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: WBAJA5C51KWA57989
    Stock: KWA57989
    Certified Pre-Owned: No
    Listed since: 07-26-2025

    • 94,342 miles
    • 1 accident, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • DFW Auto & Services (9 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Fort Worth, TX / 9 miles away from Arlington, TX

    We are Open Monday through Saturday 9 am to 7 pm and on Sunday closed ! We are located at 6801 Randol Mill Rd., Fort Worth Texas 76120 . Please call b...

    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: WBAJA5C31HG896877
    Stock: 896877
    Certified Pre-Owned: No
    Listed since: 03-08-2025

  • Price Drop
    • 60,702 miles
    • No accidents, 2 owners, personal use
    • 20 City / 29 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Indianapolis, IN / 778 miles away from Arlington, TX

    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: 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: WBAJE7C31HG888360
    Stock: 2003853934
    Certified Pre-Owned: No
    Listed since: 07-02-2025

    • 95,951 miles
    • 1 accident, 3 owners, personal use
    • 24 City / 34 Hwy MPG
    • Carz City (22 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Addison, TX / 22 miles away from Arlington, TX

    The 2017 BMW 5 Series 530i Sedan 4D is a luxury midsize sedan that combines refined performance with upscale features. It is powered by a 2.0-liter tu...

    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: WBAJA5C39HG894925
    Stock: ES0748
    Certified Pre-Owned: No
    Listed since: 05-31-2025

    • 58,973 miles
    • 1 accident, 2 owners, personal use
    • 20 City / 29 Hwy MPG
    • Carvana - Dallas (19 mi away)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Dallas, TX / 19 miles away from Arlington, TX

    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:

    23 Combined MPG (20 City/29 Highway)

    Listing Information:

    VIN: WBA5B3C58FD544317
    Stock: 2003859095
    Certified Pre-Owned: No
    Listed since: 07-02-2025

    • 120,157 miles
    • 2 accidents, 4 owners, personal use
    • 23 City / 34 Hwy MPG
    • AutoNation Chrysler Dodge Jeep Ram North Fort Worth (20 mi away)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Fort Worth, TX / 20 miles away from Arlington, TX

    Sun/MoonroofNavigation SystemKeyless StartThis vehicle includes a Money-Back Guarantee* and passed our precise inspection process. Best of all th...

    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/34 Highway)

    Listing Information:

    VIN: WBA5A5C56FD522654
    Stock: FD522654
    Certified Pre-Owned: No
    Listed since: 07-14-2025

    • 99,245 miles
    • No accidents, 3 owners, personal use
    • 24 City / 34 Hwy MPG
    • Carz USA (15 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Dallas, TX / 15 miles away from Arlington, TX

    Experience luxury and performance in the 2017 BMW 530i. This sedan is equipped with a powerful 2.0L Turbocharged Inline-4 engine, delivering 248 horse...

    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: WBAJA5C31HWA35112
    Stock: A35112
    Certified Pre-Owned: No
    Listed since: 06-20-2025

  • Price Drop
    • 78,123 miles
    • 1 accident, 3 owners, personal use
    • 20 City / 29 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Oklahoma City, OK / 192 miles away from Arlington, TX

    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:

    23 Combined MPG (20 City/29 Highway)

    Listing Information:

    VIN: WBAJE7C33HG479180
    Stock: 2003717237
    Certified Pre-Owned: No
    Listed since: 05-09-2025

    • 82,666 miles
    • No accidents, 2 owners, personal use
    • 23 City / 33 Hwy MPG
    • Driveline Motorcars (21 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Farmers Branch, TX / 21 miles away from Arlington, TX

    Clean CARFAX.Glacier Silver Metallic 2019 BMW 5 Series 530i xDrive AWD 8-Speed Automatic 2.0L 4-Cylinder AWD, Night Blue Leather.Convenience Packa...

    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: WBAJA7C51KWW10648
    Stock: KWW10648
    Certified Pre-Owned: No
    Listed since: 06-03-2025

  • New Listing
    • 58,892 miles
    • No accidents, 2 owners, personal use
    • 15 mi est. electric range
    • 27 City / 31 Hwy MPG
    • Carvana - Dallas (19 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Dallas, TX / 19 miles away from Arlington, TX

    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: 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:

    28 Combined MPG (27 City/31 Highway)

    Listing Information:

    VIN: WBAJB1C51KB375699
    Stock: 2003895229
    Certified Pre-Owned: No
    Listed since: 07-24-2025

    • 84,451 miles
    • No accidents, 2 owners, personal use
    • 20 City / 30 Hwy MPG
    • Moda Cars (25 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Dallas, TX / 25 miles away from Arlington, TX

    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: WBAJE5C32HG914338
    Stock: 914338
    Certified Pre-Owned: No
    Listed since: 04-10-2025

    • 46,664 miles
    • No accidents, 3 owners, corporate fleet vehicle
    • 24 City / 34 Hwy MPG
    • Dallas Auto Center (22 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Carrollton, TX / 22 miles away from Arlington, TX

    2019 BMW 530iWhite ExteriorBrown Interior46,664 Miles530i Sedan 4D Trim PackageDual ExhaustPanoramic SunroofPark AssistNavigationBackup CameraPush to ...

    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: WBAJA5C50KG901026
    Stock: S901026
    Certified Pre-Owned: No

    • 72,356 miles
    • No accidents, 2 owners, personal use only
    • 24 City / 34 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CA to TX*
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Santa Rosa, CA / 1,488 miles away from Arlington, TX

    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: Yes

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C31HG897236
    Stock: 26797688
    Certified Pre-Owned: No

    • 79,580 miles
    • No accidents, 4 owners, personal use
    • 20 City / 30 Hwy MPG
    • Maverick Motors (21 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Lewisville, TX / 21 miles away from Arlington, TX

    Maverick Superior Make ReadyEvery vehicle we offer undergoes our comprehensive make-ready process, ensuring top-notch quality and performance. Our pro...

    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: WBAJE5C39HG478197
    Stock: 478197
    Certified Pre-Owned: No
    Listed since: 07-22-2025

    • 69,086 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to TX*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Newport News, VA / 1,201 miles away from Arlington, TX

    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: Yes

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C3XHG895551
    Stock: 26748942
    Certified Pre-Owned: No

  • New Listing
    • 55,891 miles
    • No accidents, 3 owners, personal use only
    • 23 City / 33 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Indianapolis, IN / 778 miles away from Arlington, TX

    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: 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: WBAJA7C30HG906651
    Stock: 2003924083
    Certified Pre-Owned: No
    Listed since: 07-24-2025

  • Price Drop
    • 70,581 miles
    • No accidents, 2 owners, personal use
    • 20 City / 30 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Sacramento, CA / 1,420 miles away from Arlington, TX

    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: 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: WBAJE5C33HG914977
    Stock: 2003888946
    Certified Pre-Owned: No
    Listed since: 07-10-2025

  • $17,991
    great price
    • 98,143 miles
    • 1 accident, 2 owners, personal use only
    • 25 City / 33 Hwy MPG
    • AutoNation USA Plano (27 mi away)
    • Five Star Dealer
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Plano, TX / 27 miles away from Arlington, TX

    M Sport PackagePremium PackageCognac; Dakota Leather UpholsteryHarman/Kardon Surround Sound SystemMulti-Contour SeatsParking Assistance PackageD...

    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:

    28 Combined MPG (25 City/33 Highway)

    Listing Information:

    VIN: WBAJR3C09LWW81376
    Stock: LWW81376
    Certified Pre-Owned: No
    Listed since: 06-17-2025

Showing 43 - 63 out of 646 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 Arlington, TX Values

Estimated values
2017 BMW 5 Series 540i 4dr Sedan (3.0L 6cyl Turbo 8A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$14,645$17,276$19,293
Clean$14,112$16,624$18,539
Average$13,223$15,537$17,284
Rough$12,068$14,125$15,651

The average list price of a used 2017 BMW 5 Series in Arlington, Texas is $20,772. The average mileage on a used BMW 5 Series 2017 for sale in Arlington, Texas is 77,225. Based on the average mileage of 77,225 for used 2017 BMW 5 Series for sale in Arlington, TX 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 Arlington, Texas to be $13,223.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius100 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

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.