An implantable medical device (10) includes a plurality of legs (16) and, preferably, a circumferential array of support elements (24). The legs (16) have anchoring elements (22) at their distal ends (20). The anchoring elements (22) are formed from a turn (32) of the wire forming the legs (16), while piercing elements (34) are formed by the extremities of the wire. The loops (32) formed in this manner hold the piercing elements (34) in the desired position and orientation during use of the filter assembly (10) and also provide resiliency to counter any effects of movement of the filter assembly (10) caused by movement or changes in the vessel (50) in which the filter assembly (10) is deployed. The anchoring elements (22) can also straighten during removal of the filter assembly (10), thereby facilitating the removal of the filter (10) even after endothelialisation.