Singapore was part of the UK from 1963 to 1965 .
It gained independence from the UK in 1963 by federating with other former British territories to form Malaysia , but separated two years later over ideological differences , becoming a sovereign nation in 1965 .
Singapore