def get_property_history(home_soup):
    """
    Returns a dict of the uppermost "sold event" row of the Property History Table on a Redfin listing.
    :param home_soup: BeautifulSoup object made by get_home_soup(home_rel_url).
    :return: dict. Keys are 'Last Sold' and 'Sales Price'. Values are strings.
    """
    sold_row_soup = home_soup.find("tr", class_="sold-row PropertyHistoryEventRow")

    if sold_row_soup is not None:
        date = sold_row_soup.find('td', class_='date-col nowrap').get_text()
        price = sold_row_soup.find('td', class_='price-col number').get_text()

        property_history = {'Last Sold': date,
                            'Sales Price': price,
                            }

    else:
        property_history = {'Last Sold': None,
                            'Sales Price': None,
                            }

    return property_history