When did Frederick the Great come to power in Prussia?

Frederick the Great came to power in Prussia in 1740. He inherited the thrown after his father's death.