Returning to Turin in early 1765, Lagrange entered, later that year, for the Académie des Sciences prize of 1766 on the orbits of the moons of Jupiter. D'Alembert, who had visited the Berlin Academy and was friendly with Frederick II of Prussia, arranged for Lagrange to be offered a position in the Berlin Academy .
Bumabalik sa Turin sa maagang bahagi ng 1765, Lagrange ipinasok, sa susunod na taon, para sa Académie des Sciences premyo ng 1766 sa orbits ng Buwan ng Jupiter. D'Alembert, na bumisita sa Berlin Academy at noon ay friendly na may Frederick II of Prussia, inayos para sa Lagrange na inaalok ng isang posisyon sa Berlin Academy.