A Republican state legislator in North Dakota who used a smartphone app to send unsolicited explicit photos to another man has revealed that he is bisexual after the recipient leaked the photos to the press.

The Forum, a North Dakota-based newspaper, reported that the man who received the photos from the lawmaker, Randy Boehning, was upset that Boehning had voted against a sexual orientation nondiscrimination bill.

According to a voter guide [PDF] issued by the North Dakota Family Alliance, the state affiliate of the Family Research Council, Boehning said he supports North Dakota’s constitutional ban on same-sex marriage and opposes laws barring discrimination on the basis of sexual orientation and gender identity. He also said he opposes “adding ‘sexual orientation’ to the list of criteria used to determine anti-bullying policies in our public schools.’”