obligatory

adjective

Definitions of obligatory

English

something you must do because of a rule or law

My son was about to start his two years of obligatory military service.