Journalist released from prison after court ruling