"The era of military non-alignment in our history has come to an end. A new era begins," Finnish President Sauli Niinistö said in a statement.