England's men and women secured gold as Scotland's men claimed their first Commonwealth Games team gymnastics medal by taking silver in Glasgow.

The five-man English team of Sam Oldham, Louis Smith, Kristian Thomas, Max Whitlock and Nile Wilson scored a total of 266.804 to sit in top spot after Tuesday's afternoon session, with the gold medal confirmed at the end of the competition.

Scotland's five of Frank Baines, Adam Cox, Liam Davie, Dan Keatings and Dan Purvis landed the historic silver with a total of 257.603, with Canada claiming bronze with 252.078.

England's women also tasted victory after they amassed a total of 167.555 to see off the challenge of Australia and Canada who finished in second and fourth place as Wales claimed bronze.

Becky Downie, Hannah Whelan, Ruby Harrold, Claudia Fragapane and Kelly Simm matched the achievements of England's men with an all-round strong performance over the two days of the team competition at the Hydro.

It is the first time since the 2002 Commonwealth Games in Manchester that England have won team gold and the men did so with one man down after Oldham suffered what was understood to be a dislocated ankle on the first piece of apparatus on day two.

England's men had topped the pile at the halfway stage on Monday night with Scotland second and Canada in third.

Wales, who started the second day of the team final in fourth place, had a shaky start on the vault and did not hit top form on the parallel bars before achieving a final total of 241.385 after the high bar to sit in fifth behind Australia (246.941).

England and Scotland both resumed in the next sub-division, with Whitlock and Thomas impressing on the vault while Purvis led Scotland's medal charge on the parallel bars.

However, Oldham landed awkwardly after his vault and was carried from the apparatus after clutching his left ankle before leaving the arena shortly afterwards in a wheelchair for a scan.

It meant England were left to compete on the parallel bars and high bar with a man down, with three scores needed on each to go towards the team total.

Pommel horse specialist Smith stepped up on the parallel bars and was bettered by Whitlock and Wilson as England's charge continued.

Scotland's Baines impressed on the high bar before Keatings came back from an earlier tumble on the p-bars to achieve a solid score.

The final rotation saw England on the high bar and Scotland on the vault, with Whitlock again sticking a clean routine as he topped the all-around qualification with a score of 14.766 to give him a total of 90.365.

Wilson and Thomas finished off England's team medal bid with clean and high-scoring routines which secured them gold as there were no real challengers in the later session, while a strong series of vaults left Scotland with silver.

The scores from team competition also doubled up as qualification marks for individual finals, with Whitlock and Wilson both qualifying for the all-around final where Scotland will be represented by Keatings and Baines and Wales duo Clinton Purnell and Iwan Mepham will compete.

Whitlock also qualified for the floor, pommel horse, rings, parallel bars and high bar finals while Thomas will go in the high bar, vault and floor, Wilson on the rings, parallel bars and high bar and Smith on the pommel horse.

For Scotland, Keatings will contest the floor, pommel horse and high bar finals while Purvis has qualified on parallel bars and rings, Baines and Cox go again on vault with Baines also in action again on high bar and parallel bars.

Wales will be represented by Purnell on floor, vault and rings and Jac Davies on pommel horse.

England's women started the day at the top of the medal standings after competing on the bars and vault on Tuesday to sit ahead of Australia and Wales, with Canada, South Africa, Scotland and New Zealand further down the rankings.

The team, led by Olympians Downie and Whelan, resumed their competition on the beam and solid performances from Downie and Fragapane kept them on course for a medal.

They then moved to their last apparatus, the floor, where Whelan, Harrold and Fragapane shone as England moved into gold medal position.

Australia and Canada competed in the last subdivision of the team competition knowing exactly what they needed to do in order to win gold but they fell short, as double gold belonged to England at the Hydro.

Wales' team of Raer Theaker, Elizabeth Beddoe, Georgina Hockenhull, Jessica Hogg and Angel Romaeo won bronze with 160.095, just over a point and a half behind silver medallists Australia.

England and Wales will have representation in each apparatus final, with Scotland's Emma White having qualified for the vault final.