Secretary of State Shemia Fagan was right to keep former New York Times columnist Nick Kristof off the ballot for governor, the Oregon Supreme Court ruled Thursday.

In a 33-page unanimous opinion, the court affirmed Fagan’s early January decision that Kristof hadn’t lived in Oregon long enough to run for governor. The Oregon Constitution requires candidates for governor to live in the state for three years prior to their election – in Kristof’s case, he would have needed to establish residency by November 2019.