How to get free Lyft rides on Fourth of July in DC

If you're planning to celebrate America's 242nd birthday on the Fourth of July, here's how you can make sure you have a safe and sober ride home.

Washington Regional Alcohol Program (WRAP) has teamed up with Lyft for its Sober Ride program.

MORE: Cool spots to watch July Fourth fireworks (that aren't on the National Mall)

WRAP will be offering $15 off rides with Lyft in the DC region from 7 p.m. on Wednesday till 4 a.m. on Thursday.

All you have to do is type in WRAP's promo code, which they will post at 5 p.m. on Wednesday at soberride.com, into the promo section on the Lyft app.

MORE: Tips to keep your pet safe during Fourth of July fireworks

You must be 21 or older to qualify for the promotion and limited quantities are available.

The initiative is part of WRAP's goal to prevent drunk driving and the nonprofit says it has dispatched 72,377 safe rides home since 1991.