Sen. John McCain, an admiral’s son whose rebellious streak nearly got him expelled from Annapolis but helped him survive North Vietnamese torture and rise to the top of the Republican Party, has died. He was 81 years old.

Mr. McCain died Saturday at his home in Sedona, Ariz., surrounded by his wife, Cindy, and their family, his office said.

The...