Czech Republic–Slovakia relations
Before 1918, both countries were part of Austria–Hungary. However, after the Ausgleich of 1867 Czechia belonged to the Austrian Empire while Slovakia belonged to the administratively separate Kingdom of Hungary, and between 1918 and December 31, 1992, both countries were part of Czechoslovakia. 
Both countries established diplomatic relations on January 1, 1993. These international relations are usually referred to or described as "very good", "cordial", and "above standard" in the media. When a Czech or Slovak president is inaugurated, very often his first international visit is to the former part of the common country. The same custom applies to newly elected prime ministers of the Czech Republic and Slovakia.
Slovakia
The end of Communist rule in Czechoslovakia in 1989, during the peaceful Velvet Revolution, was followed once again by the country's dissolution, this time into two successor states. The word "socialist" was dropped in the names of the two republics, i.e. the Slovak Socialist Republic was renamed Slovak Republic. In July 17, 1992 Slovakia, led by Prime Minister Vladimír Mečiar, declared itself a sovereign state, meaning that its laws took precedence over those of the federal government. Throughout the autumn of 1992, Mečiar and Czech Prime Minister Václav Klaus negotiated the details for disbanding the federation. In November the federal parliament voted to dissolve the country officially on December 31, 1992.