NAIROBI, Kenya  The Sudanese journalist who was convicted of violating her country’s decency laws for wearing a pair of green slacks in public was released from jail on Tuesday, though she is not exactly sure why.

Lubna Hussein, the journalist, was jailed on Monday after refusing to pay a fine. Under Islamic law, she had faced up to 40 lashings, which instantly turned her case into something of an international sensation. Mrs. Hussein said that she did not pay the fine  approximately $200  though a Sudanese journalist organization may have.

Sudan is partly ruled by Islamic law, and Article 152 of the country’s penal code states that anyone “who commits an indecent act which violates public morality or wears indecent clothing” can be fined and lashed up to 40 times.

Mrs. Hussein has vowed to appeal the conviction, and on Tuesday she said: “I will keep wearing the trousers. I won’t be affected by the court. This is my normal life.”