Thailand's government says it has lifted martial law that was imposed ten months ago. It will be replaced with a security measure known as Article 44, which grants emergency powers to the ruling military.