Uber has ended its dispute with authorities in Portland, Ore., by agreeing to stop operating in the city while it updates its laws to allow the service. The agreement yesterday came days before a judge was to hear the city's lawsuit against the ride-sharing service, reports the Oregonian, which notes that this is the first time Uber has voluntarily agreed to pull out of a US city. Uber will stop operating in Portland for three months while the city creates what it calls "a new regulatory framework that includes innovative transportation network companies," CNN reports. Officials say that even if the new regulations aren't ready in three months, they will bring in a temporary agreement to let Uber return. (During the Sydney hostage crisis, Uber offered free rides after initially quadrupling rates.)