The battle began around 9:00 a.m. on August 1, 1789, as the Russian and Austrian artillery opened fire on the Turkish lines.   The Turks had fortified their camp with a line of entrenchments.  Ottoman troops in the Balkans were experienced at erecting field fortifications, which could include ditches, earthen ramparts, and wooden palisades and towers.  The Ottomans sortied from their defenses to attack the allies all along their battle line.  Allied artillery and musket fire drove the Turks back. Suvorov then attacked the Turkish right flank.  The Russian cavalry was repulsed, but the Russian infantry attack was successful.  The Turks were pushed back into their entrenchments under close range Russian fire.  On the Ottoman left, the Austrian infantry also threw back the defenders.  Defeated on both ends of their line, the Ottomans fled.  The victory was complete by 4:00 p.m.  The allies lacked the resources to pursue the Turks and advanced no farther into Ottoman territory. The Turkish casualties numbered 1,500 dead and 2,500 wounded.  Allied casualties amounted to 800. The allies had captured 12 Ottoman guns.
Question: How many hours did it take from the time the Russian and Austrian artillery opened fire on the Turkish lines until the victory was complete?
Answer: 7