An Israeli soldier was sentenced to 19 days in jail Wednesday after classified material turned up on Facebook, the Jerusalem Post reported.

The unidentified solider, who serves in the Israel Defense Forces' elite 8200 military intelligence unit, was punished for taking photos on a military base without permission, according to the newspaper.

The unit is responsible for code decryption and collecting signal intelligence, and is comparable in function to the United State's National Security Agency, according to the report.

Last week the IDF removed hundreds of classified documents, photos and messages, after The Jerusalem Post reported soldiers had posted photos of interiors and exteriors of bases — including equipment inside, troop exercises and location, as well as pictures of advanced weapons onto Facebook.

Click here to read more on this story from The Jerusalem Post.