The first appearance of a wild bear and a strawberry tree on the coat of arms of the city was in the 13th century. Previously, it only incorporated a bear in passant attitude, until it was replaced in the aforementioned century by the two current figures. With this change, they wanted to symbolise the resolution adopted by the municipality and the Chapter of Priests and Beneficiaries after a long litigation about the control of Madrilenian pastures and trees.