 It was there that he first developed his interest in history painting.In 1862, he settled in Pest.The following year, he won a contest with his painting "The Escape of Emperor Charles VII" and used the prize money to finance a trip to the Netherlands and Paris, returning in 1864.