City politician details how bid to run in federal election went off the rails