For years, Lyft has trailed its larger rival Uber in the battle to conquer the ride-hailing market. More recently, Lyft has gotten a boost.

The smaller ride-hailing company has secured up to $500m (£402m) in a new round of funding that values Lyft at $6.9bn before the addition of new capital, according to two people briefed on the discussions who asked to remain anonymous because the details were confidential. The privately held company may raise an additional $100m, these people said.

The financing gave Lyft a $2.4bn increase in value since the company last raised money in 2016.

It was not immediately clear which investors were participating in the new financing. Lyft’s previous investors included venture capital firm Andreessen Horowitz and Chinese e-commerce company Alibaba.

A Lyft spokesman declined to comment on the financing, which was earlier reported by the Financial Times.

Lyft is being bolstered by the woes at Uber, which has been dealing with scandals involving the company’s workplace culture and aggressive leadership team.

A grass-roots movement to boycott Uber has sprung up around the country, with the hashtag #deleteuber, related to the company’s shortcomings, spreading quickly across Twitter .

Lyft has been trying to capitalise on the stumbles of its opponent. The company has shown investors a recent surge in ride requests, buoyed by Uber’s negative publicity. It has also presented itself as a kinder alternative to Uber.

The world’s most valuable brands Show all 10 1 /10 The world’s most valuable brands The world’s most valuable brands 1st - Google Google replaced Apple as the world’s most valuable brand, with a brand value of $109.5bn, according to Brand Finance The world’s most valuable brands 2nd - Apple Apple’s brand value declined from $145.9bn to $107.1bn in 2016 The world’s most valuable brands 3rd - Amazon Amazon's brand value rose from $69.6bn to $106.4bn in 2016 Amazon The world’s most valuable brands 4th - At&t Of the 40 telecoms brands in the ranking, AT&T in 2016 overtook Verizon as the most valuable brand rising to $87bn from $59.9bn the year before The world’s most valuable brands 5th - Microsoft Microsoft's brand value rose marginally from $67.3bn to $76.3bn in 2016 The world’s most valuable brands 6th - Samsung Amazon's brand value rose from $58.6bn to $66.2bn The world’s most valuable brands 7th - Verizon Verizon's brand value inched up from $63.1bn to $65.9bn The world’s most valuable brands 8th - Walmart Walmart's brand value rose from $53.6bn to $62.5bn The world’s most valuable brands 9th - Facebook Facebook's brand value increased sharply from $34bn to just shy of $62bn The world’s most valuable brands 10th - ICBC ICBC saw its brand value rise to $47.8bn from $36.3bn. It was the most valuabe financial brand in the world in 2016 replacing Wells Fargo

In an interview with Time last month, Lyft’s president, John Zimmer, said of Uber’s problems: “We’re woke.” He added that Lyft, in contrast to Uber, was “a better boyfriend”.