Wilfred the Hairy
The city is believed to be of Roman origin, in view of the number of amphoras and writings that have been found, although the city was reportedly founded 986 with the name of Rivo Rubeo. At the death of Wilfred the Hairy, the border between Al-Andalus and Catalan counties was delimited by the river Llobregat, with Catalans to the north and Muslims to the south; Rubí was therefore very close to the border.