Singapore was founded as a British trading colony in 1819 and became an independent nation in 1965 after attaining self-government from Britain in 1959 and spending two years as part of the Malaysian Federation