While associated with Democrats, Bernie is an Independent. Some seem to think he was a member of the Democratic Party, but he never joined. Sanders was a U.S. representative for 16 years before being elected to the U.S. Senate in 2006, Sanders was reelected in 2012, 2018, and 2024.
His constituents keep voting for him, so he must be doing something right.