The first city-like centre associated with Warsaw was established around the 13th century. On the site where the Royal Castle is located today, it is most likely that in the 13th century there was a stronghold with infrastructure serving Duke Bolesław II.