The Polish Partition Sejm ratified the cession on 30 September 1773, whereafter Frederick officially went on to call himself a King "of" Prussia.
What was ratified in 1773 in Prussia?
The Polish Partition Sejm