Algeria moved up to second place in the swimming medal table after taking two of the first four gold medals on the final day of action in the pool at the Baku Aquatics Centre.
Sprint specialist Oussama Sahnoune added the men's 100m freestyle title to his 50m crown from Monday, while Souad Nefissa Cherouati proved she can go the distance by surging to her third gold of the Solidarity Games in the women's 400m freestyle.
Wednesday's action kicked off in familiar fashion, with Viktoria Zeynep Gunes claiming yet another gold medal for Turkey.
The 18-year-old had started Tuesday's session with back-to-back golds in the 100m breaststroke and 400m medley, and struck again as she took a dominant victory in the first of Wednesday's eight finals, the women's 200m breaststroke.
This one looked like it would be a battle between Gunes and teammate Gulsen Beste Samanci, winner of the 50m breaststroke on Saturday.
But Gunes was simply unstoppable, powering to gold over seven seconds clear of silver medallist Anandia Evato of Indonesia.
Daria Talanova took Kyrgyzstan's first swimming medal of the Solidarity Games with bronze, while Samanci faded to finish fourth.
Gunes now boasts four individual titles at these Solidarity Games, having also secured 200m medley gold on the opening day.
There was more Turkish delight in the women's 100m butterfly, where 15-year-old Aleyna Ozkan showed she will be one to watch for the future as she took her country's 22nd swimming gold ahead of Indonesia's Adinda Dewi and teammate Gizem Bozkurt.
But the early part of Wednesday's session was all about Algeria, who took two golds in quick succession to move ahead of hosts Azerbaijan into second in the swimming medal table.
Firstly, Sahnoune swept to his second gold medal of the week in the highly-anticipated men's 100m freestyle race.
The 50m champion led at the turn and surged clear of Turkish duo Doga Celik and Kemal Arda Gurdal to win in 49.15.
His compatriot Cherouati then won a sensational women's 400m freestyle final, biding her time and producing a fantastic late burst to touch just ahead of 200m freestyle champion Selen Ozbilen of Turkey.
The swimming concludes on Wednesday evening with four more finals - the men's 50m butterfly, the women's 50m freestyle and both 4x100m medley relays.
© AFP Services