Lyft and Uber drivers can now legally pick up and drop off passengers at San Francisco International Airport.

Both companies announced on Monday that they’ve entered agreements with the airport. They are expected to begin operations there within the next 30 days, according to a statement from SFO. SFO is the first airport in the U.S. to ink deals with both Lyft and Uber.

Airport director John Martin said SFO is “committed to be an industry leader.”

“We’re proud to be the first airport in the U.S. to have both signed permits from both companies,” Martin said in a statement. “This gives customers at SFO more choice, without compromising our focus on safety and security.”

Last week, San Francisco-based Sidecar became the first app-based transportation company legally able to pick up and drop off customers at SFO.

For-hire vehicles operating at the airport without permission are considered to be trespassing. State regulators warned Lyft, Uber, Sidecar, and Wingz in June that their companies risked being shut down if they continued giving airport rides without authorization.

Lyft secured its first airport authorization deal at Nashville International Airport in Tennessee last month, according to the company. It signed its agreement with SFO last week.

Uber hopes its arrangement with SFO can serves as a model for other airports, according to a blog post. “San Franciscans were the first to experience Uber, and now those arriving in the city will get to hop on an uberX as soon as they step out into SFO,” the company wrote.