The Type UB III submarine was a class of U-boat built during World War I by the German Imperial Navy. UB III boats carried 10 torpedoes and were usually armed with either an 8.8 cm SK L/30 naval gun| or a deck gun. They carried a crew of 34 and had a cruising range of. Between 1916 and 1918, 96 were built. The UB III type coastal submarine, despite being a submersible torpedo boat was less akin to UB-II type "attack" boats that preceded it than the highly successful UC-II type minelaying submarine. The UC-IIs had gained their fearsome reputation by sinking more than 1,800 Allied and neutral vessels. German engineers did not miss the chance of expanding the potential of this capable design by incorporating some of its features into a new submersible torpedo boat. The UB-IIIs joined the conflict mid-1917, after the United States of America declared war on Germany and the United States Navy was added to the ranks of their enemies. When the convoy system was introduced, it became more difficult to engage enemy merchant shipping without being spotted by destroyer escorts. Nevertheless, the UB-IIIs performed their duties with distinction, sinking 507 ships with a total of and 12 warships, including the battleship, before the end of hostilities. More than 200 UB III boats were ordered. Of these, 96 were completed, and 89 commissioned into the German Imperial Navy. Thirty-seven boats were lost, four in accidents. Surviving boats had to be surrendered to the Allies in accordance with the requirements of the Armistice with Germany, some of these boats served until 1935. Germany was prohibited from acquiring a new submarine force by the Treaty of Versailles, but German admirals had no intention of allowing their nation to forget how to construct submarines. Germany started to manufacture and to export slightly modified versions of UB-IIs and UB-IIIs. Having kept the skills of their engineers polished by this means, they eventually ordered the construction of a new coastal submarine. The resulting design was an improved UB-III that had the benefit of new, all-welded construction techniques and an array of electronic and electromechanical gadgets: the Type VII submarine, the most common U-boat of the Kriegsmarine, was born.