What happened to Korea after the war?

It became a capitalist state.
It became a communist state.
It split into communist North Korea and democratic South Korea
It mandated Buddhism as the national religion.

It split into communist North Korea and democratic South Korea.