St Andrew's, like nearby Pembroke, developed from the late 19th and early 20th century barracks built as a military town by the British. Today the area has developed into a proper residential town. Many of the older colonial buildings still stand, notably Fort Pembroke, one of the four forts built by the British as part of the Victoria Lines. It was meant to defend the eastern side of Malta.