The Castle of Xavier (Basque: Xabierko gaztelua; Spanish: Castillo de Javier) is located on a hill in the town of Xavier (Navarre, Spain), 52 km east of Pamplona and 7 km east of Sangüesa. The town of Xavier was part of the Kingdom of Navarre. Built in the 10th century, this castle was the birthplace and childhood home of Saint Francis Xavier, son of the Lords of Xavier, hence his surname.