<human>:  How many years did the German king Friedrich the Great rule?
<bot>: Friedrich the Great ruled from 1740 to 1786. He was a great military leader, and his reign saw the rise of Prussia, which was a major European power. He also expanded the borders of the Kingdom of Prussia, and he reformed the army and government.