At first, Pierre had some money. He spent 13 of it on a skirt and 34 of the remainder on a jacket. After that, his aunt gave him $280. The ratio of the total amount of money he had in the end to the amount of money he had at first was 4 : 3. How much money did Pierre have at first?