Middle Eastern entities are locking up more city assets, including a nearly billion-dollar purchase on Fifth Avenue and two other purchases in the Garment Center.

Alduwaliya Asset Management, a Doha, Qatar-based investment firm, is in contract to buy two mid-block Garment Center assets for $140 million, which in the past would have been snapped up by locals.

The two are the 17-story 142 W. 36th St., with 119,203 square feet, and 234 W. 39th St., a 10-story building with 91,943 square feet including 30,000 square feet of air rights that can be built on top or transferred.

While both buildings have a lawful mix of fashion and tech tenants such as the digital marketing firm Elite SEM on 36th Street and RapidSOS emergency tech on 39th Street, area zoning changes have legalized non-manufacturing tenants that heretofore had been hiding in plain sight.

But it also opened more of the neighborhood to overseas investors who balked at walking on the wild side of city violations.

Alduwaliya, a UK-based investment firm that represents a wealthy Qatari family, knows the territory. It purchased the Art Deco building at 250 W. 39th St. in 2015 for $123.5 million.

In 2016, its hospitality arm bought the Hilton Homewood Suites at 312 W. 37th St. for $167.1 million. These are its first city buys since that time.

The sellers, Tod Waterman and USAA, bought these two buildings in 2015 for $117.75 million and spent more in upgrades and tenant build-outs.

Douglas Harmon and Adam Spies of Cushman & Wakefield led the investment sales team, which included Kevin Donner, Adam Doneger, Josh King and Marcella Fasulo.

Earlier this week, Harmon, Spies and Donner also put 711 Fifth into contract for $907 million from Coca-Cola, as the Commercial Observer first reported.

Nightingale Properties, led by Elie Schwartz and Simon Singer, inked the deal to buy the building, a Coke spokesman confirmed.

The deal is being purchased with Nightingale’s longtime investment partner, Qatar-based Wafra, which is led in New York by CEO Fawaz Al-Mubaraki.

Their local investments also include 300 Lafayette St., while Nightingale owns the ground leases on both 645 Madison Ave. and 20 E. 46th St.

This is good news for the market as the exits of two stores, watch-seller Breguet and Ralph Lauren Polo have left a huge hole between East 54th and 55th streets. (Ralph Lauren still operates its successful Polo Bar restaurant on East 55th Street)

Several office floors are also vacant. These include the 17th and 18th floors, totaling 25,605 square feet, which combine into a duplex penthouse with a terrace. Coca-Cola is also giving up its vacant space in the building

The 310,000-square-foot building with a large, double-height second floor, was marketed globally, and some investors had considered hotels and residential conversions as well as leaving most of it as office space.

Before the deal was in contract, The Real Deal reported Schwartz was negotiating with the retailers to buy out their leases — Ralph Lauren’s runs into 2029 — and using those sums to fund the purchase.

Developed in 1927 by Floyd Brown, the 18-story building was leased to the nascent National Broadcasting Co. for its headquarters and studios before its 1933 move to the then-new Rockefeller Center.

Coke obtained the building in 1983 after its purchase of Columbia Pictures, which had leased it starting in the mid-1950s.

A small store sold branded merchandise in the current Omega space. The giant World of Disney location was upbeat news at the end of 1994 — but shuttered in 2009 as the economy withered while retail rents rose.

Ralph Lauren signed at the end of 2013 for the lower level through the third floor and is paying roughly $30 million in rent. It has been unsuccessful in subleasing at that price but is eager to wash its hands of the financial obligation.