Poland

Malbork Castle is the largest castle in the world.

An excerpt from the article 31 facts about Poland
Although it was built not by Poles but by Teutonic Knights, it is located on our present-day Polish territory. It became Polish property in 1457 when Casimir Jagiellonian bought it for 190 thousand florins from Ulric Czerwonka, who took possession of the castle as a pledge for unpaid debts of the Teutonic Order. The present value of the sum for which he bought the castle is about 660 kg of gold.