Legislation is a set of regulatory legal acts (laws and by—laws) in force in the state and regulating public relations.