A nervous-looking Cody Simpson and Emma McKeon embrace as he learns he’s made the Aussie swim team

At the end of one of the most controversial weeks in Australian swimming, Cody Simpson was picked to be part of the national team.

And on Monday, the pop star-turned-swimming sensation shared the moment he learned he’d be going to the Commonwealth Games in Birmingham this winter.

In a candid video posted to Instagram, the ex-boyfriend of Miley Cyrus clapped his hand over his mouth in shock as he read the text telling him he’d made the elite squad, before leaning back into the arms of girlfriend Emma McKeon.

Shook: At the end of one of the most controversial weeks in Australian swimming, the national team selectors picked Cody Simpson (pictured with Emma McKeon) in his first ever national team

The proud golden girl of Australian swimming embraced the 25-year-old in a sweet moment for the couple.

Cody captioned the post, ‘When you get the text that you’ve made your first Australian team.’

‘Last night I was selected to represent Australia at my first Commonwealth Games,’ continued the On My Mind singer. 

The moment: In a candid video posted to Instagram, the ex-boyfriend of Miley Cyrus clapped his hand over his mouth in shock as he read the text telling him he'd made the elite squad, before leaning back into the arms of girlfriend Emma

Cody and Emma share a sweet moment after he learned he'd made the team

The moment: In a candid video posted to Instagram, the ex-boyfriend of Miley Cyrus clapped his hand over his mouth in shock as he read the text telling him he’d made the elite squad, before leaning back into the arms of girlfriend Emma

Huge news: Cody captioned the post, 'When you get the text that you've made your first Australian team'

Huge news: Cody captioned the post, ‘When you get the text that you’ve made your first Australian team’

Cody added, ‘I was holding my breath all week after the 100m fly final and this is the moment I found out.’ 

‘If you’d have told me 2 years ago when I had started training in a backyard pool during lockdown that I’d be here today, I don’t know if I’d have believed you.’

Later, the couple were photographed heading to Adelaide Airport following the end of the national swimming championships.

Loved-up: The proud golden girl of Australian swimming embraced the 25-year-old in a sweet moment for the couple

Loved-up: The proud golden girl of Australian swimming embraced the 25-year-old in a sweet moment for the couple

Heading east: Later, the couple were photographed heading to Adelaide Airport following the end of the national swimming championships

Heading east: Later, the couple were photographed heading to Adelaide Airport following the end of the national swimming championships

Plane plain: The lovebirds were dressed casually for their flight back to the Gold Coast

Plane plain: The lovebirds were dressed casually for their flight back to the Gold Coast

The lovebirds were dressed casually for their flight back to the Gold Coast.

Emma clad her figure in black leggings, while Cody wore trousers and a white T-shirt.

They both shielded their gazes behind dark shades for the outing.

Travelling with the newly-minted couple was Cody’s mum, Angie. 

Legs for days: Emma clad her figure in black leggings, while Cody wore trousers and a white T-shirt

Legs for days: Emma clad her figure in black leggings, while Cody wore trousers and a white T-shirt

Future's so bright: They both shielded their gazes behind dark shades for the outing

Future’s so bright: They both shielded their gazes behind dark shades for the outing

Close: Cody will compete in the butterfly events at the upcoming Commonwealth Games, but has missed out on a spot for the World Championships

Cody strides towards the airport following a successful meet

Close: Cody will compete in the butterfly events at the upcoming Commonwealth Games, but has missed out on a spot for the World Championships

Cody will compete in the butterfly events at the upcoming Commonwealth Games, but has missed out on a spot for the World Championships.

The Queenslander looked to have booked himself a spot at the worlds in the 100m butterfly after finishing third in the event at the national swimming championships in Adelaide behind Kyle Chalmers and winner Matt Temple.

Australia can only field two representatives and Cody was expected to make it because Kyle would drop out due to his busy schedule and need to preserve his body after picking up serious injuries and undergoing surgery.

Superstar: Emma is a four-time world record holder, one current and three former, in the 4x100 metre freestyle relay

 Superstar: Emma is a four-time world record holder, one current and three former, in the 4×100 metre freestyle relay

Disappointed: The Queenslander looked to have booked himself a spot at the worlds in the 100m butterfly after finishing third in the event, but that dream was soon shattered

Disappointed: The Queenslander looked to have booked himself a spot at the worlds in the 100m butterfly after finishing third in the event, but that dream was soon shattered

However, Kyle subsequently changed his mind, insisting he will compete in the 100m butterfly at the worlds in Budapest next month.

He was a shock absentee at from Sunday’s ceremony announcing the Australian swim team, citing the need of taking break from the spotlight for mental health reasons.

‘The last few days have been difficult for Kyle, both mentally and emotionally,’ a Swimming Australia spokesman said.

Rivalry: Cody's rival Kyle Chalmers subsequently changed his mind about joining the team, thereby bumping the pop star from his spot

Rivalry: Cody’s rival Kyle Chalmers subsequently changed his mind about joining the team, thereby bumping the pop star from his spot

Chaperone: Travelling with the newly-minted couple was Cody's mum, Angie

Chaperone: Travelling with the newly-minted couple was Cody’s mum, Angie

‘He believes it’s in the best interest of his mental health to remain in Port Lincoln with his family for the next few days. Swimming Australia fully supports his decision.’

Kyle and Cody have dominated the headlines, since the former backflipped on his decision to skip the 100m butterfly at the world championships, ending the latter’s hopes of competing in the event.

The move immediately led to speculation Kyle could have been motivated by the fact Cody is dating his ex, swimming sensation Emma.

Scandal: Kyle and Cody have dominated the headlines, since the former backflipped on his decision to skip the 100m butterfly at the world championships

Scandal: Kyle and Cody have dominated the headlines, since the former backflipped on his decision to skip the 100m butterfly at the world championships