Original: It declared independence from Britain unilaterally in August 1963, before joining the Federation of Malaysia in September along with Malaya, Sabah and Sarawak as the result of the 1962 Merger Referendum of Singapore.
Simplified: In 1963 Singapore joined with Malaya, Sabah and Sarawak to form the new nation of Malaysia.