A charity founded by Alabama GOP Senate candidate Roy Moore is selling its building — a move that could make Moore more than a half-million dollars.

The Washington Post reports that the Foundation for Moral Law, which is currently run by Moore’s wife Kayla, has put its building on the market for $1.9 million. That could net Moore $540,000, because of an unusual arrangement where Moore’s charity paid him huge sums for part-time work and promised future pay when it ran low on funds.

Moore, who twice served on (and was thrown off of) the Alabama supreme court, made more than $180,000 a year from the organization — more than $1 million in total. The unusual workings of the charity were a problem for him in the primary, but not enough to stop him from romping against Sen. Luther Strange (R-AL). He’s held a lead in early polls against Democrat Doug Jones in spite of Moore’s multiple controversies in the deeply conservative state.