After the invasion of 1274, the shogunate made efforts to defend against a second invasion, which they thought was sure to come. They better organized the samurai of Kyūshū and ordered the construction of forts and a large stone wall (石塁, Sekirui or 防塁, Bōrui) and other defensive structures at many potential landing points, including Hakata Bay, where a high wall was constructed in 1276. In addition, a large number of stakes were driven into the mouth of the river and the expected landing sites to prevent the Mongol Army from landing.