Now playing
00:59
Uber CEO on fixing its workplace culture problem
WASHINGTON, DC - JUNE 22: Facebook
WASHINGTON, DC - JUNE 22: Facebook's Chief Operating Officer Sheryl Sandberg speaks with AEI president Arthur C. Brooks during a public conversation on Facebook's work on 'breakthrough innovations that seek to open up the world' at The American Enterprise Institute for Public Policy Research on June 22, 2016 in Washington, DC. (Photo by Allison Shelley/Getty Images)
PHOTO: Allison Shelley/Getty Images North America/Getty Images
Now playing
01:23
Hear Sandberg downplay Facebook's role in the Capitol riots
screengrab US social media
screengrab US social media
PHOTO: Getty Images
Now playing
04:35
Tech companies ban Trump, but not other problematic leaders
PHOTO: Samsung
Now playing
01:53
See Samsung's new Galaxy S21 lineup
PHOTO: CNN
Now playing
02:47
Extremists and conspiracy theorists search for new platforms online
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
PHOTO: Olivier Douliery/AFP/Getty Images
Now playing
03:49
Parler sues Amazon in response to being deplatformed
PHOTO: Twitter
Now playing
02:39
Twitter permanently suspends Donald Trump from platform
Panasonic
Panasonic's Augmented Reality Heads-up Display
PHOTO: Panasonic USA
Now playing
01:06
This tech gives drivers directions on the road in front of them
PHOTO: LG Display
Now playing
01:10
See LG's transparent TV
PHOTO: Twitter/@gregdoesthings
Now playing
02:06
Internet gets creative with empty iPhone boxes
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images North America/Getty Images
Now playing
03:25
Google employee on unionizing: Google can't fire us all
Now playing
02:01
Watch 'deepfake' Queen deliver alternative Christmas speech
Now playing
01:42
Watch father leave daughter dozens of surprise Ring messages
PHOTO: Photo Illustration: Kena Betancur/Getty Images
Now playing
04:50
Zoom's founder says he 'let down' customers. Here's why
Now playing
00:48
See Walmart's self-driving delivery trucks in action
Now playing
01:25
This robotaxi from Amazon's Zoox has no reverse function
(CNN Business) —  

Uber is buying the biggest ride-hailing app in the Middle East.

In the biggest tech deal the region has ever seen, Uber is paying $3.1 billion for Careem with a mixture of cash and securities that will convert into Uber shares when the company goes public.

Careem, based in Dubai, was founded in 2012 and has since become the regional market leader with 30 million users across 90 cities in the Middle East, North Africa and Pakistan. It was valued at more than $2 billion in a funding round in October.

Careem will operate under its own brand as a subsidiary of Uber and continue to be led by CEO Mudassir Sheikha, the companies said in a statement Tuesday.

In an email to Uber staff members seen by CNN Business, CEO Dara Khosrowshahi said keeping the Careem brand and operations “has the advantage of letting us build new products and try new ideas across not one, but two, strong brands.”

Uber is gearing up for an initial public offering that’s expected to take place later this year. It’s reportedly seeking a valuation of as much as $120 billion. Combining with Careem will give Uber dominance over the Middle East region and could help the US company trim its losses.

Uber has a mixed track record in international markets. Since 2016, it has retreated from China, Russia and eight Southeast Asian countries. But it has been playing up its global ambitions as it prepares to go public.

Uber CFO Nelson Chai said in November that the company had invested in “high-potential markets in India and the Middle East where we continue to solidify our leadership position.”

In India, Uber competes with homegrown startup Ola, which operates in more Indian cities than its US rival.

Careem has used home field advantage and local knowledge to make life difficult for Uber since the American company entered the Middle East market in 2013.

Careem’s biggest investors include Rakuten (RKUNF), Didi Chuxing, Daimler (DDAIF) and the Saudi government, which has also poured billions into Uber.

This is the second takeover of a Dubai unicorn after Amazon (AMZN) bought e-commerce startup Souq in 2017. The United Arab Emirates is pushing to become a regional tech hub but is yet to produce a third unicorn after Souq and Careem.

High license costs and a lack of funding have often deterred entrepreneurs. Abu Dhabi is trying change that and this week launched a new tech hub with incentives such as free housing and health care.

The acquisition of Careem is pending regulatory approval and is expected to conclude in the first quarter of 2020.

Ivana Kottasova contributed to this report.