The17th century bath house was converted into a palace by King Stanislaus Poniatowski in 1764.