Jaffna Fort is a fort built by the Portuguese at Jaffna, Sri Lanka in 1618 under Philip De Olivera following the Portuguese invasion of Jaffna. The fort is located near Karaiyur. Due to numerous miracles attributed to the statue of Virgin Mary in the church inside the fort, Jaffna Fort was named as Fortress of Our Lady of Miracles of Jafanapatão. It was captured by the Dutch under Rijcklof van Goens in 1658 who expanded it. In 1795, it was taken over by the British, and remained under the control of a British garrison till 1948. As the only large military fort in the country, due to the presence of only government and military buildings within its ramparts, it was garrisoned by a detachment of the Ceylon Army.