Epimenides Paradox

Once upon a time there was an accused who said:

"As long as my lie is unraveled, I'll keep lying."

Then the judge said:

"If the accused lies, his lawyer will lie too."

Finally, the lawyer said:

"Anyone who can unravel my lie will tell the truth."

Which one is lying?