What monarch was Frederick the great?

Frederick the Great (1712-1786)or Frederick II was King of Prussia from 1740-1786. Frederick was famous for modernizing Prussia, religious tolerance, and being an advocate of the Enlightenment