The real was the official currency of Gibraltar until 1825 and continued to circulate alongside other Spanish and British currencies until 1898.