Britain occupied the Caribbean Coast in the first half of the 19th century , but gradually ceded control of the region in subsequent decades .