Carl Friedrich Gauss said he developed the method in 1795. He used it to recover the lost asteroid 1 Ceres and published it in 1807. He used ideas from Pierre-Simon Laplace. Adrien-Marie Legendre developed the same method independently, in 1805.