Castle Rocks Regional Park and Mount Diablo State Park abut each other. If I recall correctly, I was standing in the state park when I took this photo of the actual “castle” rock, named for the feature that looks sort of like a turret.
View from the state park:
From inside Mount Diablo:
Ancient rock formation in Mount Diablo called China Wall: