Rival developers Gary Barnett of Extell Development and Related Cos.’s Steven Ross have completed their swap of development sites, clearing the way for a great comet to descend on Times Square.

In May, we reported that Related, along with partner Boston Properties, had hired Newmark Grubb Knight Frank’s Mark Weiss to sell a Times Square site at the northeast corner of West 45th Street and Eighth Avenue that was located next to an Extell-owned garage that was also being prepped for development.

Since Barnett was becoming a thorn in Ross’s side by rebranding his West 34th Street and 11th Avenue site as One Hudson Yards — undercutting proposed rents at Related and partner Oxford Properties’ Hudson Yards towers — the parties soon came to an amicable agreement. We’ve now learned the deal quietly closed at the end of July.

With the lots about to be in hand, Extell was approached by Anita Grossberg of the Sroka Worldwide Team at Douglas Elliman, whose client has now leased the vacant portion for “Natasha, Pierre & the Great Comet of 1812.”

The dinner theater cabaret show, produced by Howard and Janet Kagen, has been in a temporary location in the Meatpacking District at Washington and West 13th Street but is being booted for the development of another project.

Grossberg says the show will open Sept. 24 at 259-267 W. 45th Street and run at least through the beginning of January with the possibility of extensions.