Throughout his high school life, Gavin Grimm gained notoriety for his advocacy. And now, in the new book, “Nevertheless, We Persisted,” he’s sharing his story.

When the now-18-year-old was a sophomore in high school, Grimm came out as transgender to his family and friends and after that, his school administrators. The school was supportive at first, but as noted by Teen Vogue, not long after, “a frenzy from community members suddenly turned his access to a restroom into a public discussion,” and Grimm was no longer allowed to use the men’s room.

In 2015, Grimm sued the Gloucester County School District, based out of Virginia. The lawsuit thrusted the teen into the role of a transgender advocate, even being named one of Time’s 100 Most Influential People last year.

And in May of this year, Grimm won a court ruling regarding the case. A judge denied the scool board’s motion to dismiss Grimm’s lawsuit, the New York Times reported.

Now, Grimm is one of 48 celebrities, activists and writers being featured in the new book, “Nevertheless, We Persisted.”

In Grimm’s essay, he discusses coming out and going to court against his high school district. In an excerpt of his essay obtained by Teen Vogue, Grimm details being able to use the boy’s room for about seven weeks before things took a turn.

“This seven-week period showed me what it was like to be supported and validated by your school, and it gave me confidence that I would be able to live out a normal school year, unencumbered by restroom politics,” Grimm wrote. “Unfortunately, this was a false sense of security.”

The collection of essays will be released on Sept. 4 and also features essays from Senator Amy Klobuchar, actress Alia Shawkat, actor Maulik Pancholy and more.