A 38-year-old man has been sentenced in the capital for refusing to participate in military drills due to his religious beliefs.