Apparatus and methods are provided for use with a blood vessel of a subject, including a stent (20) configured to be placed in the blood vessel. The stent includes at least first (32), second (34), and third (36) strut portions disposed along the stent. The first and second strut portions are coupled to one another at a first junction (37A) that facilitates bending of the first and second strut portions with respect to one another. The second and third strut portions are coupled to one another at a second junction (37B) that facilitates bending of the second and third strut portions with respect to one another. At least one electrode (22) is disposed on at least an outer surface of the stent. Other applications are also described.