What is the capital of the country that is nearly surrounded by India and has a coastline on the Bay of Bengal?

Bangladesh, formerly known as East Pakistan, has a capital city called Dhaka.