A company linked to Jorge Perez’s Miami-based development firm closed one of the largest real estate deals in South Florida this year.

RD Flagler Village LLC, a limited liability company affiliated with the Related Group, sold a downtown Fort Lauderdale apartment complex for nearly $149 million to Teachers Insurance and Annuity Association, according to a deed recorded Thursday in Broward County.