The General Theory of Relativity was published in 1915 , ten years after the special theory of relativity was created . General relativity ( GR ) is a theory of gravitation that was developed by Albert Einstein between 1907 and 1915 .