The picturesque garden scheme owes its emergence as its present shape and appearance mainly to the last ruler of the Polish–Lithuanian Commonwealth, King Stanisław August Poniatowski (Stanislaus II Augustus). In the mid-16th century, it became part of the estates of Poland's Italian-born Queen Bona Sforza, who built a wooden manor house with an Italian garden on this site. Later, the wooden manor house of Queen Anna Jagiellon stood on this spot, immortalized in 1578 by the performance of the first Polish play, "Dismissal of the Greek Envoys" by Jan Kochanowski. To the south, King Sigismund III Vasa had a four-sided stone castle with corner towers erected in 1624.