How was the Rock of Gibraltar Formed?

The Rock of Gibraltar was formed when the Eurasian and African tectonic plates collided with each other back in the Jurassic era. It is made primarily of limestone and because of this is riddled with caves. The caves have been found to contain many fossils including those of early man.You can find more information here: