Castella Cake was introduced to Japan by Portuguese merchants in the 16th century and became especially popular in Nagasaki. The city's historical ties to international trade influenced the cake's adoption and development.