qnli question: Who was the king of Prussia from 1740 to 1786? sentence: Frederick the Great, the king of Prussia from 1740 to 1786, saw himself as a leader of the Enlightenment and patronized philosophers and scientists at his court in Berlin.