The Los Angeles Angels have reached a deal with the city of Anaheim to keep baseball in the area through at least 2050.

The deal also gives the organization full control of its stadium.

The City of Anaheim agreed on Tuesday to sell Angel Stadium and the 133 acres of surrounding land for $325 million to SRB Management LLC, of which Angels owner Arte Moreno is a partner.

In exchange, the Angels have agreed to stay in Anaheim through at least 2050.