Please open your Bibles and turn to the book of the prophet Daniel which is in the Old Testament, towards the end, between Ezekiel and Hosea. Daniel is one of the few prophets mentioned (as recorded in the Gospels) by Jesus.
Daniel was probably considered a bit of a impudent young man, defying authority with his own ideas of what was right. Perhaps considered a bit of a rebel. (Definitely his 3 friends gained that reputation!) But as you'll read in the book that bears his name, his behaviors were shown to be true, and he did his best to be tactful (although on at least one occasion later in the book he directly confronts the king and tells him to stop sinning).
The first act of defiance we learn about is not long after he's arrived at his new "home."
Daniel and many others were taken captive and brought hundreds of miles from their home. They were forced into training to serve in their captor's palace. He had three close friends and they all made up their minds to drink only water and eat only vegetables. This caused some consternation with the man who was in charge of them. Why should Daniel and his three friends be treated differently from the many others who were also taken captive?
Medium story short, Daniel's vegetarian diet made him and his friends appear more healthy than all the other guys taken captive who had been fed "the king's rich food," directly from the king's own kitchen. No doubt that did not make Daniel or his friends popular! But since it did prove to be beneficial, their captors looked favorably on it.
All Grown Up
Over the years Daniel stayed focused on his duties, remarkably focused; so much that it seems more than a few people were jealous of him. It should come as no surprise that the people who didn't like him tried their best to find his faults. Since none were particularly obvious they decided they needed to make a law he was sure to break.
So at least 122 of the highest ranking leaders in the land went to King Darius and told him they had all agreed there should be a law that for the next 30 days no one should pray to any god or man but the king himself. If anyone should break the law, the punishment was to be thrown in a den of lions. King Darius agreed and made it official.
Daniel Instantly, Knowingly, and Willingly Breaks the Law
It didn't take long for Daniel to learn the news of this law. So what was the first thing he did? He went home and prayed to God! Lawbreaker! Prayer addict!
So what happened? Well, the High Priests of Assigning Permanent Shame under the guise of the Holier-Than-Thou-Congregation broke in on him, a kind of early SWAT raid, and hauled him before the king to face charges! Guilty prayer addict lawbreaker! So they threw him in the den of lions where his accusers hoped he would be mauled to death.
So what happened? Well, you'll have to read that for yourself! :-) Here's a link to the chapter that contains this particular law-breaking episode in Daniel's life: Daniel 6.