Actor-composer Alan Thicke has sold a compound in Toluca Lake, Calif., for $3.525 million.

The Spanish Colonial-style house, built in 1934, sits behind gates on a flat 1-acre lot with a north-south lighted tennis court, an outdoor entertaining area and a swimming pool with a poolside kitchen and covered eating area. The living/media room has a carved-wood-beam ceiling and a fireplace.

The great room includes a bar and a fireplace. The master bedroom suite features a spa tub, a sauna, a balcony, a fireplace, a study and walk-in closets. The 8,656-square-foot house has five more bedrooms and six bathrooms, plus a second kitchen in a guest suite, another office and a gym.

Public records show the property changed hands in 1986 for $627,500. Thicke, 65, had been leasing it out in recent years. Since starring as patriarch Jason Seaver on ‘Growing Pains’ (1985-92), Thicke has appeared on ‘The Bold and the Beautiful’ (2006-09), ‘RoboDoc’ (2009) and ‘The L.A. Complex’ (2012).

He will star in the independent Canadian film ‘Cubicle Warriors’ due out next year. His compositions include theme songs for ‘Diff’rent Strokes’ (1978-86) and ‘The Facts of Life’ (1979-88).