Did Miley break up with Nick or Vice Versa?

i think they both decided to stop being a couple. so they both broke up with each other. I'm glad they did break up though.