Medzhybizh Castle, built as a bulwark against Ottoman expansion in the 1540s, became one of the strongest fortresses of the Crown of the Kingdom of Poland in Podolia.