The paper presents the process of developing a legal framework for the answer to climate change from the perspective of the European Union. It starts with acts of international law, which were then adopted by the Union (such as the Paris Agreement) through primary legislation, the provisions of which evolved to cover also climate change. It ends with secondary legislation, in particular with European Climate Law, which, as a regulation, sets out to achieve climate neutrality.