Changed phone using same number but messages still received on old phone

I was using an iPhone and was added to a group chat while using it. I then changed to android and used the same number I was using for the iPhone, having changed the number on the iPhone. Messages on that group are still received on the iPhone, despite having changed the number.
How is this possible and how can I get the group messages on that chat on the android phone now?