The first work Fiorentino undertook was rebuilding two wings of the royal Wawel Castle, which had burned in 1499. At first he worked on the western wing called "the Queen’s House" (1502-1507), which was intended for the home of dowager Queen Elisabeth, prince Sigismund's mother. It was the first stage of rebuilding this edifice in the renaissance style. The remainder of this rebuilding was bas-relief window frames on the second level of the courtyard side. One of these frames in relief is the setting of the bay window. Afterwards, Fiorentino worked on the northern wing (1507–16).