Madonna said she was raped at knifepoint after she moved to New York City as a young woman.

The singer wrote about making it at a young age, being "daring" and raising four children in the latest issue of Harper's Bazaar. She also wrote about dealing with violence and crime while trying to make it big.

"New York wasn't everything I thought it would be. It did not welcome me with open arms," she wrote, according to E! News. "The first year, I was held up at gunpoint. Raped on the roof of a building I was dragged up to with a knife in my back, and had my apartment broken into three times. I don't know why; I had nothing of value after they took my radio the first time."

"I was poised for survival. I felt alive. But I was also scared (expletive)less."

The pop culture icon also weighed in on becoming a star in her 20s and behaving accordingly.

"When you're 25, it's a little bit easier to be daring, especially if you are a pop star, because eccentric behavior is expected from you," she wrote.

"Years later, here I am, divorced and living in New York. I have been blessed with four amazing children. I try to teach them to think outside the box. To be daring. To choose to do things because they are the right thing to do, not because everybody else is doing them. The idea of being daring has become the norm for me. Of course, this is all about perception because asking questions, challenging people's ideas and belief systems, and defending those who don't have a voice have become a part of my everyday life. In my book, it is normal."