As thousands of would-be fighters from outside the country volunteer to help Ukraine defend itself against Russia's invasion, some may also face legal consequences in their home countries.

Citizens of Canada, Georgia, India, Japan, the United Kingdom and the United States are among the volunteers, Reuters and other media organizations have reported.

Below is a summary of some of the laws governing foreigners who have signed up for Ukraine's "international legion."