The legality of bitcoin depends on who you are, and what youre doing with it.
There are three main categories of bitcoin stakeholder. Someone may fall under more than one of these categories, and each category has its own legal considerations.
Legal in what way was it? If for investment assets of course Bitcoin legal but if for tool Bitcoin transaction not yet legal in my country. The government in my country does not want it if people use Bitcoin as their transaction tool. Because the Government does not want if its citizens more switch to Bitcoin than the currency of the country.