The men cruised to victory in the 4x100m relay after Asha Philip, Imani-Lara Lansiquot, Bianca Williams and Dina Asher-Smith claimed gold in their relay race minutes before.
Asher-Smith ran the final leg to salvage gold for Great Britain in thrilling fashion after being third with just 50m to go.
It was a much more convincing run for the men’s team though as CJ Ujah, Zharnel Hughes, Adam Gemili, Harry Aikines-Aryeetey ran the perfect race.
Aikines-Aryeetey was a late substitute for the men’s team, coming in to take the final leg, but his involvement proved seamless as Great Britain finished almost 0.20 seconds ahead of their closest rivals.
Great Britain enjoyed unrivalled success in track and field this week as they began the competition with a double in the 100m on Tuesday.
Asher-Smith stormed to glory with a national record in her race before Hughes pipped team-mate Reece Prescod over the line.
The medals kept tumbling though as Nathaneel Mitch-Blake won silver in the 200m while Holly Bradshaw picked up bronze in the pole vault on Thursday.
Friday saw Katarina Johnson-Thompson banished the demons from the last two World Championships and the Rio Olympics by earning a big personal best score of 6,759 to win silver.
Matthew Hudson-Smith stole the headlines with gold in the 400m with Meghan Beesley and Jake Wightman earning bronze in the 400m hurdles and 1500m respectively.
Asher-Smith returned to the track yesterday aiming for her second gold of the week in the 200m and she comfortable achieved it, setting another national record.
Shara Proctor did enough to win bronze in a tense long jump before it was the turn of both 4x400m relay teams.
Zoey Clark, Anyika Onuora, Amy Allcock and Eilidh Doyle managed bronze for the women while Rabah Yousif, Dwayne Cowan, Matthew Hudson-Smith and Martyn Rooney went one better to win silver.
More medals fell on the final day with Laura Muir winning gold in the 1500m as Laura Weightman picked up bronze in the same event.
Eilish McColgan raced hard to pick up silver in a dramatic 5000m race to win her first medal at a major outdoor championship.
And Great Britain made sure they finished the week in style as both 4x100m relay teams won gold in thrilling fashion.
It means Great Britain finish atop of the medal table in athletics with 18 overall and seven golds.