The closest is Castle of the Masovian Dukes in Płock, 1 km south-west of the city centre; the most famous is Royal Castle in Warsaw — #165 of 8,134 worldwide — 95 km east.
Every one of them stands in Poland — the country page shows the full national picture.