 This was to connect Accra, the country's foremost port at that time, with Ghana's main cocoa-producing regions.In 1923, the railway was completed, and by 1924, cocoa was Ghana's largest export.The British Gold Coast heavily influenced the shape that Accra took during this period.