Before North Carolina passed its controversial bathroom law, before Caitlyn Jenner transitioned and before “Transparent” became a hit TV series, a little kid in rural Colorado was told she couldn’t use the girls’ restroom at school anymore.

The story of Coy Mathis, a transgender girl who was born a boy, garnered international attention in 2013 when her parents, Jeremy and Kathryn Mathis, filed a complaint accusing the school district of violating the state’s anti-discrimination law.

The Mathises went on to win their case, but not before coming under heavy criticism for putting Coy, then a 6-year-old first grader, in front of reporters and camera crews and on television with Katie Couric. Now, they’re poised to be foisted back into the spotlight with the documentary “Growing Up Coy,” which has its premiere on June 16 in New York at the Human Rights Watch Film Festival.

Directed by Eric Juhola and produced by his husband, Jeremy Stulberg, “Growing Up Coy” picks up with the Mathis family in early 2013, about six weeks before they went public with their case. Together with their lawyer, the Mathises believed that speaking openly was necessary to sway the public in Coy’s favor and to help win her case. But, as the documentary shows, the move unleashed a media feeding frenzy that previewed the fights that would roil America in 2016, fraying the couple’s relationship, drawing excoriations from talking heads and internet trolls, at times alienating their four other children and indelibly etching Coy’s name into cyberspace’s inexhaustible memory bank.