At the beginning of the 15th century, the carrack was the most capable European ocean-going ship. It was carvel-built and large enough to be stable in heavy seas. It was capable of carrying a large cargo and the provisions needed for very long voyages. Later carracks were square-rigged on the foremast and mainmast and lateen-rigged on the mizzenmast. They had a high rounded stern with large aftcastle, forecastle and bowsprit at the stem. As the predecessor of the galleon, the carrack was one of the most influential ship designs in history; while ships became more specialized in the following centuries, the basic design remained unchanged throughout this period.