State responsibility arises under international law when a state commits an internationally wrongful act. For a state to be responsible, the wrongful conduct must be attributable to the state and constitute a breach of an international obligation. Conduct is attributable to a state if it is committed by state organs or other entities acting under the state's direction or control. Even ultra vires conduct or actions of private individuals can be attributable. A state breaches its obligations by failing to act in accordance with customary international law, treaties, or judicial decisions. Examples of when states have been found responsible include failing to prevent or warn of dangers in territorial waters and denying justice to foreign citizens.