Original: The new theater was built on the former location of the church of Santa Maria della Scala, from which the theater gets its name.
Simplified: The new theater was built where there had been a church called Santa Maria della Scala.