Students rally outside the Capitol Building in Washington, Wednesday, March 14, 2018, a precursor to the March for Our Lives rallies this weekend.
PHOTO: Andrew Harnik/AP
Students rally outside the Capitol Building in Washington, Wednesday, March 14, 2018, a precursor to the March for Our Lives rallies this weekend.
(CNN) —  

Ride-hailing service Lyft will offer free rides to those attending the March for Our Lives rallies this weekend.

In a blog post, the company said it has teamed up with march organizers in 50 US cities to offer the service. It said it’s committing as much as $1.5 million for the rides.

CHICAGO, IL - APRIL 20: A student holds up her hands while taking part in National School Walkout Day to protest school violence on April 20, 2018 in Chicago, Illinois. Students from around the nation joined in the walkout against gun violence on the 19th anniversary of the shooting at Columbine High School where 13 people were killed. (Photo by Jim Young/Getty Images)
PHOTO: Jim Young/Getty Images
CHICAGO, IL - APRIL 20: A student holds up her hands while taking part in National School Walkout Day to protest school violence on April 20, 2018 in Chicago, Illinois. Students from around the nation joined in the walkout against gun violence on the 19th anniversary of the shooting at Columbine High School where 13 people were killed. (Photo by Jim Young/Getty Images)
Now playing
01:28
Students demand action on guns with walkout
PHOTO: CNN
Now playing
01:36
Watch students walk out of schools across US
Now playing
00:57
Newtown student: This is why we're walking out
NS Slug: GA:NATL WALKOUT-WALTON HS PARENTS HOLD SIGNS  Synopsis: Cobb County students walk out despite disciplinary threats  Keywords: GEORGIA COBB COUNTY HIGH SCHOOL
PHOTO: CNN
NS Slug: GA:NATL WALKOUT-WALTON HS PARENTS HOLD SIGNS Synopsis: Cobb County students walk out despite disciplinary threats Keywords: GEORGIA COBB COUNTY HIGH SCHOOL
Now playing
02:09
Some students face suspension for walking out
PHOTO: CNN
Now playing
01:23
See Parkland students walk out
Clare Schexnyder and Royce Mann Kinkade intvu
PHOTO: CNNI
Clare Schexnyder and Royce Mann Kinkade intvu
Now playing
06:58
Atlanta residents lead walkout for gun control
PHOTO: CNN
Now playing
01:36
Watch students walk out of schools across US
CHICAGO, IL - APRIL 20: A student holds up her hands while taking part in National School Walkout Day to protest school violence on April 20, 2018 in Chicago, Illinois. Students from around the nation joined in the walkout against gun violence on the 19th anniversary of the shooting at Columbine High School where 13 people were killed. (Photo by Jim Young/Getty Images)
PHOTO: Jim Young/Getty Images
CHICAGO, IL - APRIL 20: A student holds up her hands while taking part in National School Walkout Day to protest school violence on April 20, 2018 in Chicago, Illinois. Students from around the nation joined in the walkout against gun violence on the 19th anniversary of the shooting at Columbine High School where 13 people were killed. (Photo by Jim Young/Getty Images)
Now playing
01:28
Students demand action on guns with walkout
Now playing
00:57
Newtown student: This is why we're walking out
NS Slug: GA:NATL WALKOUT-WALTON HS PARENTS HOLD SIGNS  Synopsis: Cobb County students walk out despite disciplinary threats  Keywords: GEORGIA COBB COUNTY HIGH SCHOOL
PHOTO: CNN
NS Slug: GA:NATL WALKOUT-WALTON HS PARENTS HOLD SIGNS Synopsis: Cobb County students walk out despite disciplinary threats Keywords: GEORGIA COBB COUNTY HIGH SCHOOL
Now playing
02:09
Some students face suspension for walking out
PHOTO: CNN
Now playing
01:23
See Parkland students walk out
Clare Schexnyder and Royce Mann Kinkade intvu
PHOTO: CNNI
Clare Schexnyder and Royce Mann Kinkade intvu
Now playing
06:58
Atlanta residents lead walkout for gun control

To take advantage of it, a rally attendee will have to reserve a ride to his or her city’s march and receive a code. (This post tells you how to do it.)

Earlier this month, Lyft co-founders John Zimmer and Logan Green wrote a letter to the students at Marjory Stoneman Douglas High School, the catalyst behind the rallies after a deadly shooting at their school.

“We believe there is something seriously wrong when the threat of gun violence is so frequent and real throughout our country. And like many, we are inspired by your leadership.”