The invention relates to a device having a stent structure (2) for inserting into intracranial blood vessels (6) of the human or animal body, wherein the stent structure (2) has an expanded state, in which the stent structure is able to contact the inner wall of the blood vessel (6), and a compressed state, in which the stent structure can be moved through the blood vessel (6) within a microcatheter (4), wherein the stent structure (2) is connected to an insertion aid (3) and wherein the stent structure (2) is able to independently transition into the expanded state after release from the microcatheter (4), wherein the stent structure (2) has electrical conductors (13), by means of which electrical pulses, high-frequency pulses, or ultrasonic pulses can be applied to nerve fibers extending in the vessel wall of the blood vessel (6) in order to temporarily or permanently reduce the function of the nerve fibers and to prevent or treat a vasospasm.