election writ