Jailed for defending marriage