Why was Cambodia colonized?

It was related to the history of the Cambodia. Actually, Cambodia was weak to defend itself from the foreign invaded. That the reason the king of Cambodia decided to put French colony for helping.