The Prussian king Frederick William I ceded the estates to the Potsdam orphanage ; his son King Frederick the Great had to pay a significant compensation before building Sanssouci Palace from 1744 onwards .
Head entity: frederick william i Q105013 3 4 5
Tail entity: frederick the great Q33550 17 18 19
Relation (head \u2192 tail): P40
Inverse relation (tail \u2192 head): P22