 Its name was first recorded in 1269 as castrum "Dewa".The origin of the name gave rise to controversy.It is considered that the name comes from the ancient Dacian word "dava", meaning "fortress" (as in "Pelendava", "Piroboridava", or "Zargidava").