The bear is a symbol of Madrid , while the T ? ­ o Pepe sign , an advertisement for one of Spain 's most famous brands of sherry , has become the unofficial symbol of the Puerta del Sol .
The bear is a symbol of Madrid because bears once attacked the city .