Latvia is a member of the European Union since May 2004. Latvia's Accession Treaty is available here.