 As part of a group of six submarines selected for Mediterranean service, "UB-45" was broken into railcar-sized components and shipped to Pola where she was assembled and then launched and commissioned in May 1916.In five patrols in her six-month career, "UB-45" sank four ships of .In early November 1916, "UB-45" was departing from the base at Varna, Bulgaria, when the U-boat struck a mine and sank rapidly.